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.

conv2<br />

0conv2<br />

Purpose Two-dimensional convolution<br />

<strong>C++</strong> Prototype mwArray conv2(const mwArray &A, const mwArray &B);<br />

mwArray conv2(const mwArray &hcol, const mwArray &hrow,<br />

const mwArray &A);<br />

mwArray conv2(const mwArray &hcol, const mwArray &hrow,<br />

const mwArray &A, const mwArray &shape);<br />

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

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

Syntax<br />

82<br />

mwArray shape; // String array(s)<br />

mwArray A, B, hcol, hrow; // Input argument(s)<br />

mwArray C; // Return value<br />

C = conv2(A,B);<br />

C = conv2(hcol,hrow,A);<br />

C = conv2(A,B,shape);<br />

C = conv2(hcol,hrow,A,shape);<br />

C = conv2(A,B)<br />

C = conv2(hcol,hrow,A)<br />

C = conv2(...,'shape')<br />

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

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

Saved successfully!

Ooh no, something went wrong!