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.

floor<br />

0floor<br />

Purpose Round towards minus infinity<br />

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

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

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

Syntax<br />

151<br />

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

mwArray B; // Return value<br />

B = floor(A);<br />

B = floor(A)<br />

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

Description B = floor(A) rounds the elements of A to the nearest integers less than or<br />

equal to A. For complex A, the imaginary and real parts are rounded<br />

independently.

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

Saved successfully!

Ooh no, something went wrong!