Discrete Fourier Transform

m=[0:39]; x = cos(9/20*pi*m); stem (m,x)

y=fft(x); stem (m,y)

realizzato con GNU Octave, version 3.0.1, su Ubuntu 8.10