blob: 57ce83319b64e8e0df5908e58b719833dafe0116 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 6.8
clc;clear;close;
L=3;A=1/4;
x=A*ones(1,L);
//Calculation of DFT
X=fft(x,-1);
X=clean(X);
disp(x,'Given Sequence is x(n): ');
disp(X,'DFT of the Sequence is X(k): ');
|