summaryrefslogtreecommitdiff
path: root/40/CH8/EX8.1/Exa_8_1.sce
blob: 000b8b9074d283b3b5b2e0bc8be13d8c9179ebe8 (plain)
1
2
3
4
5
6
//DFT from defining relation
//N-point DFT
x=[1 2 1 0];
XDFT=dft(x,-1);
disp(XDFT,'The DFT of x[n] is');
//DFT of periodic signal x with period N=4