23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

0residue<br />

Purpose Convert between partial fraction expansion and polynomial coefficients<br />

<strong>C++</strong> Prototype mwArray residue(mwArray *p, mwArray *k, const mwArray &b,<br />

const mwArray &a);<br />

mwArray residue(mwArray *a, const mwArray &r, const mwArray &p,<br />

const mwArray &k);<br />

mwArray residue(const mwArray &b, const mwArray &a);<br />

mwArray residue(const mwArray &r, const mwArray &p,<br />

const mwArray &k);<br />

<strong>C++</strong> Syntax #include "matlab.hpp"<br />

<strong>MATLAB</strong><br />

Syntax<br />

mwArray r, p, k, b, a;<br />

r = residue(&p,&k,b,a);<br />

b = residue(&a,r,p,k);<br />

r = residue(b,a);<br />

b = residue(r,p,k);<br />

[r,p,k] = residue(b,a)<br />

[b,a] = residue(r,p,k)<br />

See Also <strong>MATLAB</strong> residue Calling Conventions<br />

residue<br />

325

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!