summaryrefslogtreecommitdiff
path: root/67/CH8/EX8.14/example814.sce
blob: 247762739360ca1395aeff07f53838992e0623a9 (plain)
1
2
3
4
5
6
//Example 8.14
//Find the DFT of the following sequence
clc;
h=[1/3,1/3,1/3];
H=fft(h,-1);
disp(H,'H[k]=');