Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

rotate90 (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: linalgebra

Requires: MathScript RT Module


c = rotate90(a)

c = rotate90(a, b)

Legacy Name: rot90


Rotates a matrix counterclockwise by a multiple of 90 degrees.



Name Description
a Specifies the matrix you want to rotate.
b Specifies the multiple of 90 degrees by which you want to rotate a. b is an integer. The default is 1.


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


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


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


Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit