summaryrefslogtreecommitdiff
path: root/3838/CH7/EX7.2.d/EX7_2_D.sce
blob: 2264d412bebead7f22c4ed4eed14a8ce5866f75d (plain)
1
2
3
4
5
6
7
8
//Example 7.2.D
clc;
syms a z n;
x=(0.5)^(n);
X=symsum(x*(z^-n),n,0,%inf);
d=0.8^(n);
D=symsum(d*(z^-n),n,-(%inf),-1);
disp(D+X,'X(z)=');