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.

pascal<br />

0pascal<br />

Purpose Pascal matrix<br />

<strong>C++</strong> Prototype mwArray pascal(const mwArray &n);<br />

mwArray pascal(const mwArray &n, const mwArray &k);<br />

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

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

Syntax<br />

281<br />

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

mwArray A; // Return value<br />

A = pascal(n);<br />

A = pascal(n,1);<br />

A = pascal(n,2);<br />

A = pascal(n)<br />

A = pascal(n,1)<br />

A = pascal(n,2)<br />

See Also <strong>MATLAB</strong> pascal Calling Conventions

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

Saved successfully!

Ooh no, something went wrong!