Vectorization of Variance-Covariance Matrix: Column-Wise Order (Multidimensional Arrays)
Version 1.6.0.0 (1.02 KB) by
Monica Mow
Creates a column vector by stacking elements of x that are on and below the diagonal.
Creates a column vector by stacking elements of x that are on and below the diagonal; each column is placed into a matrix. It does this in column-wise order. Created because I could not get Mike Cliff's vech function to work on multidimensional arrays.
Cite As
Monica Mow (2026). Vectorization of Variance-Covariance Matrix: Column-Wise Order (Multidimensional Arrays) (https://www.mathworks.com/matlabcentral/fileexchange/47754-vectorization-of-variance-covariance-matrix-column-wise-order-multidimensional-arrays), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Operating on Diagonal Matrices in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
