blob: 1221940d7eb3a2721148893ce3c0875e81cb7125 (
plain)
1
2
3
4
5
6
7
8
9
|
//find fourier inverse of X(jw),X(jw)=exp(-1.5*%i*w).*(abs(w)<=1)+0.*(1<=w & w<=%pi)
clc;
clear;
w=0:0.1:2*%pi
X=exp(-1.5*%i*w).*(w>=-1 & w<=1)+0.*(1<=w & w<=%pi);
x=dft(X,1);
n=0:1:length(x)-1;
plot2d3(n,x,2);
xtitle('Graphical Representation of x(n)','n','x(n)');
|