Permute Dimensions
Rearrange dimensions of multidimensional array dimensions
Libraries:
Simulink /
Math Operations
Description
The Permute Dimensions block reorders the elements of the input signal by permuting its dimensions. You specify the permutation to be applied to the input signal using the Order parameter.
For example, to transpose a 3-by-5 input signal, specify the permutation vector [2
1]
for the Order parameter. When you do, the block
reorders the elements of the input signal and outputs a 5-by-3 matrix.
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 Group Nonvirtual Buses in Arrays of Buses.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Extended Capabilities
Version History
Introduced in R2007a