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