summaryrefslogtreecommitdiff
path: root/716/CH7/EX7.10.III/7_12_ExerciseIII7_10.sce
blob: 32810234c222450d140df2e62a0910c1ea6f389c (plain)
1
2
3
4
5
6
7
8
9
10
//determine z transform of x(n)={0.5,-0.25,1}
clc;
clear;
x={0.5,-0.25,1};
z=poly(0,"z");
X=0;
for n=1:1:3
    X=X+x(n)*(z^(-1*(n-1)));
end
disp(X,"Z tranform=");