Products & Services Industries Academia Support User Community Company

Learn more about Statistics Toolbox   

repmat - Class: categorical

Replicate and tile categorical array

Syntax

B = repmat(A,m,n)
B = repmat(A,[m n p ...])

Description

B = repmat(A,m,n) creates a large array B consisting of an m-by-n tiling of copies of the categorical array A. The size of B is [size(A,1)*M size(A,2)*N, size(A,3), ...]. repmat(A,n) creates an n-by-n tiling.

B = repmat(A,[m n p ...]) tiles the categorical array A to produce a multidimensional array B composed of copies of A. The size of B is [size(A,1)*M, size(A,2)*N, size(A,3)*P, ...].

See Also

ndims, size

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS