summaryrefslogtreecommitdiff
path: root/162/CH11/EX11.1/example111.sce
blob: 3ab0e2129fd7084ebf7b14b3080f5668044f79a6 (plain)
1
2
3
4
5
6
//Example 11.1
//Find the DFT of x[n]=[1,2,3,4]
clc;
x=[1,2,3,4];
X=fft(x,-1);
disp(X,'X(k)=');