Program an inverse DFT

5 Ansichten (letzte 30 Tage)
Faliyo
Faliyo am 30 Okt. 2018
Bearbeitet: Matt J am 30 Okt. 2018
Hi all! I have the next code:
function [y]= mdft (x)
x=x(:);
N=length(x);
v=ones(1,N)
%recurrency factor = z
for a = 0:N-1
z(a+1) = exp(-i*2*pi*a/N);
end
for k=0:N-1
y(k+1) = v*x;
v = v.*z;
end
end
Which calculate the DFT . Now, using this function (mdft) need to implement a code that can make the Inverse DFT.
Thanks for help!

Antworten (1)

madhan ravi
madhan ravi am 30 Okt. 2018
See ifft

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by