Matrix: Rotate90
Rotate matrix by 90/180 degrees
1. mrotate90
2. mrotate90 degree:=cw90
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input Matrix | im |
Input MatrixObject |
|
Specifies the input matrix. |
Rotate Degree | degree |
Input int |
|
Specifies the degree and direction for the matrix rotation.
|
Output Matrix | om |
Output MatrixObject |
|
Specifies the output matrix. See the syntax here. |
With this X-Function, you can rotate a matrix 90/180 degrees clockwise or counterclockwise.
For a m*n matrix A as follows:
CCW90 rotation can be expressed as:
CCW180 rotation can be expressed as:
CW90 rotation can be expressed as:
mdim, mexpand, mproperty, mreplace, mflip, msetvalue, mshrink, mtranspose
Keywords:rotation