Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

reorderdim (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: basic

Requires: MathScript RT Module

Syntax

reorderdim(a, b)

c = reorderdim(a, b)

Legacy Name: permute

Description

Reorders the dimensions of a matrix.

Examples

Inputs

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).

Outputs

Name Description
c Returns a matrix.

Examples

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

Related Topics

reorderdiminv


 

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