[R] fft and filtering puzzle

William Simpson william.a.simpson at gmail.com
Sat Nov 28 11:22:12 CET 2009


Yep, that was it. Needed to remove neg freq from opposite end of s[]

coef<- 1-(((1:n)>8-1) & ((1:n)<8+1) |  (((1:n)>(n-6)-1) & ((1:n)<(n-6)+1))     )

Sorry to bother you.

Cheers
Bill




More information about the R-help mailing list