| DSP Blockset | Search  Help Desk |
| Reshape | See Also |
Library
Matrix Functions, in Math FunctionsDescription
The Reshape block accepts a matrix input and outputs the data reshaped to the specified dimensions.y = reshape(u,M,N) % equivalent MATLAB codewhere
u is the real or complex input, and M and N are, respectively, the desired number of rows and columns in the output. Elements are read from the input matrix and redistributed to the output matrix in column-wise order.

Dialog Box

[rows columns]. The number of elements in the output must be the same as in the input.See Also
Selector (Simulink)reshape (MATLAB)