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.

0cplxpair<br />

Purpose Sort complex numbers into complex conjugate pairs<br />

<strong>C++</strong> Prototype mwArray cplxpair(const mwArray &A);<br />

mwArray cplxpair(const mwArray &A, const mwArray &tol);<br />

mwArray cplxpair(const mwArray &A, const mwArray &tol,<br />

const mwArray &dim);<br />

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

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

Syntax<br />

mwArray A, tol, dim; // Input argument(s)<br />

mwArray B; // Return value<br />

B = cplxpair(A);<br />

B = cplxpair(A,tol);<br />

B = cplxpair(A,empty(),dim);<br />

B = cplxpair(A,tol,dim);<br />

B = cplxpair(A)<br />

B = cplxpair(A,tol)<br />

B = cplxpair(A,[],dim)<br />

B = cplxpair(A,tol,dim)<br />

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

cplxpair<br />

87

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

Saved successfully!

Ooh no, something went wrong!