| Neural Network Toolbox | ![]() |
Syntax
Description
nncopy(X,M,N) takes two arguments,
X - R x C matrix (or cell array).
M - Number of vertical copies.
N - Number of horizontal copies.
and returns a new (R*M) x (C*N) matrix (or cell array).
Examples
x1 = [1 2 3; 4 5 6];
y1 = nncopy(x1,3,2)
x2 = {[1 2]; [3; 4; 5]}
y2 = nncopy(x2,2,3)
| newsom | nnt2c | ![]() |