program_6_5.m
来自「介绍matlab编程的经典著作,包括与VC++进行联合编程,还包括一些经典的算法」· M 代码 · 共 13 行
M
13 行
% Program 6_5
% Power Series Expansion of a Rational z-Transform
%
% Read in the number of inverse z-transform coefficients to be computed
L = input('Type in the length of output vector = ');
% Read in the numerator and denominator coefficients of
% the z-transform
num = input('Type in the numerator coefficients = ');
den = input('Type in the denominator coefficients = ');
% Compute the desired number of inverse transform coefficients
[y,t] = impz(num,den,L);
disp('Coefficients of the power series expansion');
disp(y')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?