Main Content

Transpose

Compute transpose of matrix

  • Library:
  • Simulink / Matrix Operations

  • Transpose block

Description

The Transpose block computes the transpose of an M-by-N matrix.

Ports

Input

expand all

Matrix, specified as an M-by-N matrix.

Data Types: single | double | half | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | fixed point

Output

expand all

Transposed matrix, returned as an N-by-M matrix.

Data Types: single | double | half | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | fixed point

Block Characteristics

Data Types

Boolean | double | fixed point | half | integer | single

Direct Feedthrough

yes

Multidimensional Signals

yes

Variable-Size Signals

yes

Zero-Crossing Detection

no

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced in R2021b