R = cat(dim, A, B)
R = cat(dim, A1, A2, ..., An)
| Parameter | Description |
|---|---|
| dim | Dimension to operate along: positive integer scalar. |
| A | a variable: first input. |
| B | a variable: second input. |
| A1, A2, ..., An | List of inputs to concatenate |
| Parameter | Description |
|---|---|
| R | concatenated array |
R = cat(dim, M1, M2, ... , MN) returns the concatenation of M1, M2, ... , MN along the dimension dim.
A = eye(2, 2);
B = ones(2, 2);
C = cat(2, A, B)
| Version | Description |
|---|---|
| 1.0.0 | initial version |