📄 pfe.m
字号:
function [K,S,p] = pfe
% PFE.M
% Partial fraction expansion of polynomial P/Q
% CALL: [K,S,p]= pfe
% INPUTS: From Keyboard as array [a0 a1 ... an]
% P Numerator polyomial coefficients in decending order
% Q Denominator polynomial coefficients in decending order
% OUTPUTS: K Column vector of coefficients in the expansion
% S Column vector of corresponding roots of the denominator
% in the expansion
% p Coefficients of polynomial if P/Q is not proper fraction al
%
P=input('Coefficients of numerator in decending order = ')
Q=input('Coefficients of denominator in decending order = ')
[K,S,p]=residue(P,Q);
%
% Note: residue can also reconstruct P/Q if three arguments are
% given. See command nargin.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -