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.

0pchip<br />

Purpose Piecewise Cubic Hermite Interpolating Polynomial (PCHIP)<br />

pchip<br />

<strong>C++</strong> Prototype mwArray pchip(const mwArray &x,const mwArray &y);<br />

mwArray pchip(const mwArray &x,const mwArray &y,const mwArray &xi );<br />

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

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

Syntax<br />

mwArray x, y, x1; // Input argument(s)<br />

mwArray y1, pp; // Output argument(s)<br />

pp = pchip(x,y);<br />

yi = pchip(x,y,xi);<br />

pp = pchip(x,y);<br />

yi = pchip(x,y,xi);<br />

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

284

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

Saved successfully!

Ooh no, something went wrong!