summaryrefslogtreecommitdiff
path: root/52/CH4/EX4.13/Example4_13.sce
blob: fbaa5eb00ca51e3fa54930a47cf32035a903cbd2 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 4.13
//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 DIF 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) = ');