Owning Class: basic
Requires: MathScript RT Module
reorderdim(a, b)
c = reorderdim(a, b)
Legacy Name: permute
Reorders the dimensions of a matrix.
| Name | Description |
|---|---|
| a | Specifies a matrix. |
| b | Specifies how to reorder the matrix. b is the vector [1, 2] or [2, 1], or the corresponding column vector [1; 2] or [2; 1]. If b is [1, 2], c returns a unchanged. If b is [2, 1], LabVIEW transposes the matrix a. In other words, c = transpose(a). |
| Name | Description |
|---|---|
| c | Returns a matrix. |
C = reorderdim([1, 2, 3; 4, 5, 6], [2, 1])