summaryrefslogtreecommitdiff
path: root/67/CH4/EX4.16/example416.sce
blob: ede67c79707b1cfcfd1e1fdd8e4fa61bc355b99a (plain)
1
2
3
4
5
6
//Example 4.16
//Find DTFT of x[n]=(a^n)u[n],for 0<a<1
clc;
syms w a n;
x=a^n;
X=symsum(x*exp(-%i*w*n),n,0,%inf);