C++ Math Library Reference | ![]() ![]() |
C++ Prototype
mwArray reshape(const mwArray &in1, const mwVarargin &in2=mwVarargin::DIN, const mwArray &in3=mwArray::DIN, . . . const mwArray &in33=mwArray::DIN);
C++ Syntax
#include "matlab.hpp" mwArray A, m, siz, n, p;// Input argument(s) mwArray B; // Return value B = reshape(A,m,n); B = reshape(A,m,n,p,...); B = reshape(A,horzcat(m,n,p,...)); B = reshape(A,siz);
MATLAB Syntax
B = reshape(A,m,n) B = reshape(A,m,n,p,...) B = reshape(A,[m n p...]) B = reshape(A,siz)
See Also
reshape
Calling Conventions![]() | repmat | resi2 | ![]() |