Matlab help reshape

broken image
broken image

GNU Octave also allows vectorization and half-vectorization with vec(A) and vech(A) respectively. In Matlab/ GNU Octave a matrix A can be vectorized by A(:). Programming languages that implement matrices may have easy means for vectorization.

broken image
broken image

There exist unique matrices transforming the half-vectorization of a matrix to its vectorization and vice versa called, respectively, the duplication matrix and the elimination matrix.

broken image