DSP Blockset | ![]() ![]() |
Convert a 2-D matrix input to a 1-D vector.
Library
Signal Management / Signal Attributes
Description
The Convert 2-D to 1-D block reshapes an M-by-N matrix input to a 1-D vector with length M*N.
y = u(:) % Equivalent MATLAB code
The input is reshaped columnwise, as shown below for a 3-by-2 matrix.
The output is always sample-based.
Dialog Box
See Also
Buffer |
DSP Blockset |
Convert 1-D to 2-D |
DSP Blockset |
Frame Status Conversion |
DSP Blockset |
Reshape |
Simulink |
Submatrix |
DSP Blockset |
![]() | Convert 1-D to 2-D | Convert Complex DSP To Simulink | ![]() |