Vectorization of Variance-Covariance Matrix: Column-Wise Order (Multidimensional Arrays)
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.