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.

0polyarea<br />

Purpose Area of a polygon<br />

<strong>C++</strong> Prototype mwArray polyarea(const mwArray &X, const mwArray &Y);<br />

mwArray polyarea(const mwArray &X, const mwArray &Y,<br />

const mwArray &dim);<br />

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

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

Syntax<br />

mwArray X, Y, dim; // Input argument(s)<br />

mwArray A; // Return value<br />

A = polyarea(X,Y);<br />

A = polyarea(X,Y,dim);<br />

A = polyarea(X,Y)<br />

A = polyarea(X,Y,dim)<br />

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

polyarea<br />

292

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

Saved successfully!

Ooh no, something went wrong!