Main Content

Convert 2-D Matrix to 1-D Array

In this model, the Convert 2-D to 1-D block takes the 2-D input matrix and outputs an N-element vector, where N is the total number of elements in the input matrix. The block performs a column-wise conversion. The first set of elements of the output array is composed of the first column of the input matrix, the second set of elements is composed of the second column, and so on.

See Also

Blocks