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