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

permute (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the basic class.

Syntax

permute(a, b)

c = permute(a, b)

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 = permute([1, 2, 3; 4, 5, 6], [2, 1])

Related Topics

ipermute


Resources


 

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