📄 invlap.m
字号:
% INVLAP.M Factors of Inverse Laplace transform of
% (s^2+4s+2)/s(s+1)(s+2) using conv and residue
%
% Compute the coefficients of denominator polynomial
Q1=[1 0]; % s
Q2=[1 1]; % s+1
QD1=conv(Q1,Q2);
Q3=[1 2]; % s+2
Q=conv(QD1,Q3) % Coefficients of denominator
% Compute partial fraction coefficients
P=[1 4 2] % Coefficients of numerator
[K,S,p]=residue(P,Q) % K coefficients, S roots of Q
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -