summaryrefslogtreecommitdiff
path: root/52/CH4/EX4.14/Example4_14.sce
blob: cb82266f0a4d65d422d2d8c026995a4aafe85308 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 4.14
//Program to Compute the 4-point DFT of a Sequence x[n]=[1,-1,1,-1] 
//using DIT Algorithm.
clear;
clc ;
close ;
x=[1,-1,1,-1];
//FFT Computation
X =fft (x , -1);
disp(X,'X(z) = ');