summaryrefslogtreecommitdiff
path: root/67/CH7/EX7.42.a/example742a.sce
blob: d9a394a6f2467f059f3ef4662f08e648768ffb59 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 7.42a
clc;
function[za]=ztransfer(sequence,n)
    z=poly(0,'z','r')
    za=sequence*(1/z)^n'
endfunction
x=[1,2,3,4,5,0,7];
n1=0:length(x)-1;
X=ztransfer(x,n1);
funcprot(0);