how to compute and plot FFT
Hi all
I tried to compute and plot frequency function bellow, but I can't it work. please help
N-1
X[k] = sum(x[n]*exp(2*pi*j*n*k/N))
n=0
Pi=3.14;
fd=10^3;
N=35;
for k=1:N
for n=1:N
X(k)=exp(j*pi*n*(fd-(k/N)));
end
end
I tried to compute and plot frequency function bellow, but I can't it work. please help
N-1
X[k] = sum(x[n]*exp(2*pi*j*n*k/N))
n=0
Pi=3.14;
fd=10^3;
N=35;
for k=1:N
for n=1:N
X(k)=exp(j*pi*n*(fd-(k/N)));
end
end
0
Comments
Also, there's an FFT() function in matlab.
Hi there
fft filter out
thank you
i just want to compute frequency response fft filter output
thank you
could you perhaps post all the code?
place it inside [php] [/php]
tags please.