Previous Page | Next Page

Module Library

COLVEC Function

converts a matrix into a column vector

COLVEC( matrix) ;

where matrix is any matrix.

The COLVEC function returns an vector. It converts a matrix into a column vector in row-major order. The returned vector has 1 column and rows. The first elements in the vector correspond to the first row of the input matrix, the next elements correspond to the second row, and so on.

Previous Page | Next Page | Top of Page