📄 program_03_08.m
字号:
% Program 3_8
% Determination of the Rational z-Transform
% from its Poles and Zeros
%
colordef black;
format long
zr = input('Type in the zeros as a row vector = ');
pr = input('Type in the poles as a row vector = ');
% Transpose zero and pole row vectors
z = zr'; p = pr';
k = input('Type in the gain constant = ');
[num, den] = zp2tf(z, p, k);
disp('Numerator polynomial coefficients'); disp(num);
disp('Denominator polynomial coefficients'); disp(den);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -