summaryrefslogtreecommitdiff
path: root/67/CH8/EX8.6/example86.sce
blob: fa434746b87a119d49bc3c0ba0037dad4b0d1df3 (plain)
1
2
3
4
5
6
//Example 8.6
//Determine the DFT of the following sequence
clc;
x=[1,1,2,2,3,3];
X=fft(x,-1);
disp(X,'X[k]=');