( II'.J r all
. VIII Z
~
I1UII1(oeff=[1
0.8 0.8];
di .pC'Roots
of numerator
roots(num_coeff)
"ro~
dl'n coeff=[1
0 0.49];
di",pC'Roots
of
denominator
poll's roots(den_coeff)
II I f C ' z ' ) ;
I', 0.1;
II If C [num coeff]
lJ rid
on;
p 111 ( H) ;
,1P
OUTPUT
%find
polynomial
%fi nd
polynomial
the
factors
zA2+0.8z+0.8
the
factors
zA2+0.49
of zA2+0.8z+0.8
are
zeros.');
of
are
zA2+0.
poles.');
, [den_coeff]
,TS);
%pol e - z e r 0
p lot
No comments:
Post a Comment