23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0pow2<br />

Purpose Base 2 power and scale floating-point numbers<br />

<strong>C++</strong> Prototype mwArray pow2(const mwArray &Y);<br />

mwArray pow2(const mwArray &F, const mwArray &E);<br />

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

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

Syntax<br />

mwArray Y, F, E; // Input argument(s)<br />

mwArray X; // Return value<br />

X = pow2(Y);<br />

X = pow2(F,E);<br />

X = pow2(Y)<br />

X = pow2(F,E)<br />

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

pow2<br />

298

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

Saved successfully!

Ooh no, something went wrong!