blob: 0bbdaa1def3d69aa9c236872cdd3a364af3e99a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Example 4.11
//Program to Compute the IDFT of a Sequence using DIT Algorithm.
//X[k] = [7,-0.707-j0.707,-j,0.707-j0.707,1,0.707+j0.707,j,-0.707+j0.707]
clear;
clc ;
close ;
j=sqrt(-1);
X = [7,-0.707-j*0.707,-j,0.707-j*0.707,1,0.707+j*0.707,j,-0.707+j*0.707];
//Inverse FFT Computation
x = fft (X , 1);
disp(x,'x(n) = ');
|