blob: 00c84c931bd8fa80cb34e41798a2580ecc0b710b (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 4.16 (b)
//Program to Evaluate and Compare the 8-point DFT of the given Sequence
//x2[n]=1, 0<=n<=6 using DIT-FFT Algorithm.
clear;
clc ;
close ;
x2=[1,1,1,1,1,1,1,0];
//FFT Computation
X2 = fft (x2 , -1);
disp(X2,'X2(k) = ');
|