# rotate90

Version:

Rotates a matrix counterclockwise by a multiple of 90 degrees.

## Syntax

c = rotate90(a)
c = rotate90(a, b)
Legacy name: rot90

## a

Matrix you want to rotate.

## b

Multiple of 90 degrees by which you want to rotate a. b is an integer.

Default: 1

## c

a rotated counterclockwise by b*90 degrees. c is a matrix with the same number of elements as a.

A = [1, 2, 3; 4, 5, 6];
C = rotate90(A)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices