| Signal Processing Blockset™ | ![]() |
Signal Management / Signal Attributes
dspsigattribs
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.

| Port | Supported Data Types |
|---|---|
Input |
|
Output |
|
| Buffer | Signal Processing Blockset |
| Convert 1-D to 2-D | Signal Processing Blockset |
| Frame Status Conversion | Signal Processing Blockset |
| Reshape | Simulink |
| Submatrix | Signal Processing Blockset |
![]() | Convert 1-D to 2-D | Convolution | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |