[R] Cosine window in r

2013-09-26 Thread Bretschneider (R)
Dear Babak Bastan, Re: > > Can some one tell me, how can I implement Cosine window in r? Is there a > function for that? > The Hanning window is a cosine windowing function, to multiply sample signals with (before an FFT etc.). e.g. z = y*hanning(256) It resides in the 'signal' package. Ho

Re: [R] Cosine window in r

2013-09-25 Thread Rolf Turner
I'm pretty sure that your answer has nothing to do with what the OP was asking about. OTOH it's up to the OP to make it clear what he ***is*** asking and he did not do that. cheers, Rolf Turner On 09/26/13 01:00, João Pedro Alves wrote: x<-seq(0,2*pi,by=0.01) y<-cos(x) plot(x,y,

Re: [R] Cosine window in r

2013-09-25 Thread João Pedro Alves
x<-seq(0,2*pi,by=0.01) y<-cos(x) plot(x,y,type='l') On 25-09-2013 13:22, Babak Bastan wrote: Hi experts Can some one tell me, how can I implement Cosine window in r? Is there a function for that? [[alternative HTML version deleted]] __ R-hel

[R] Cosine window in r

2013-09-25 Thread Babak Bastan
Hi experts Can some one tell me, how can I implement Cosine window in r? Is there a function for that? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos