1 2 3 4 5 6 7 8 9 10
//Example 4.20 //Program to Compute the 8-point DFT of given Sequence //x[n]=[2,2,2,2,1,1,1,1] using DIT, radix-2,FFT Algorithm. clear; clc ; close ; x = [2,2,2,2,1,1,1,1]; //FFT Computation X = fft (x , -1); disp(X,'X(z) = ');