2.2.2.14 mrotate90

Contents

Menu Information

Matrix: Rotate90

Brief Information

Rotate matrix by 90/180 degrees

Command Line Usage

1. mrotate90

2. mrotate90 degree:=cw90

X-Function Execution Options

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Matrix im

Input

MatrixObject

<active>

Specifies the input matrix.

Rotate Degree degree

Input

int

ccw90

Specifies the degree and direction for the matrix rotation.
Option list:

  • ccw90:CCW90
    Rotates the matrix 90 degrees counter-clockwise.
  • ccw180:CCW180
    Rotates the matrix 180 degrees counter-clockwise.
  • cw90:CW90
    Rotates the matrix 90 degrees clockwise.
Output Matrix om

Output

MatrixObject

<input>

Specifies the output matrix.

See the syntax .

Description

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:

Related X-Functions

, , , , , , ,


Keywords:rotation