blob: 6a7f5a57ce2a91229bee29744b936d2c99240539 (
plain)
1
2
3
4
5
6
7
|
//relating DFT and IDFT
XDFT1=[4 -2*%i 0 2*%i];
xn1=fft(XDFT1,1);
disp(xn1,'The IDFT of XDFT1');
XDFT2=[12 -24*%i 0 4*%e^(%i*%pi/4) 0 4*%e^(-%i*%pi/4) 0 24*%i];
xn2=fft(XDFT2,1);
disp(xn2,'The IDFT of XDFT1');
|