Convert 2-D to 1-D
Convert 2-D matrix input to 1-D vector
Libraries:
DSP System Toolbox /
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 that has a length of M*N.
y = u(:) % Equivalent MATLAB code
The input is reshaped column-wise for a 3-by-2 matrix.
Examples
Ports
Input
Output
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Extended Capabilities
Version History
Introduced before R2006a