C++ Math Library Reference | ![]() ![]() |
Convert between partial fraction expansion and polynomial coefficients
C++ Prototype
mwArray residue(mwArray *p, mwArray *k, const mwArray &b, const mwArray &a); mwArray residue(mwArray *a, const mwArray &r, const mwArray &p, const mwArray &k); mwArray residue(const mwArray &b, const mwArray &a); mwArray residue(const mwArray &r, const mwArray &p, const mwArray &k);
C++ Syntax
#include "matlab.hpp" mwArray r, p, k, b, a; r = residue(&p,&k,b,a); b = residue(&a,r,p,k); r = residue(b,a); b = residue(r,p,k);
MATLAB Syntax
[r,p,k] = residue(b,a) [b,a] = residue(r,p,k)
See Also
residue
Calling Conventions![]() | resi2 | rmfield | ![]() |