Skip to Main Content Skip to Search
Product Documentation

Permute Dimensions - Rearrange dimensions of multidimensional array dimensions

Library

Math Operations

Description

The block reorders the elements of the input signal so that they are in the order you specify in the Order parameter.

Data Type Support

This block accepts signals of any data type that Simulink supports, including fixed-point and enumerated data types. Output must be the same data type as the input.

You can use an array of buses as an input signal to a Permute Dimensions block. For details about defining and using an array of buses, see Combining Buses into an Array of Buses.

For more information, see Data Types Supported by Simulink in the Simulink documentation.

Parameters and Dialog Box

Order

Specify the permutation order to apply to the dimensions of the input signal. This parameter is a vector of elements, where the number of elements in the vector is the number of dimensions of the input signal.

Characteristics

Direct Feedthrough

Yes

Sample Time

Inherited from driving block

Scalar Expansion

No

Dimensionalized

Yes

Multidimensionalized

Yes

Zero-Crossing Detection

No

See Also

Math Function (transpose), permute (in the MATLAB reference documentation)

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS