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.
192 Downloads
Updated 5 Oct 2014

View License

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
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Operating on Diagonal Matrices in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.6.0.0

new description

1.5.0.0

new title

1.4.0.0

new title

1.3.0.0

revised description

1.2.0.0

new tags

1.1.0.0

updated description

1.0.0.0