Program an inverse DFT

조회 수: 5 (최근 30일)
Faliyo
Faliyo 2018년 10월 30일
편집: Matt J 2018년 10월 30일
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!

답변 (1개)

madhan ravi
madhan ravi 2018년 10월 30일
See ifft

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by