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