vech function
The equivalent "vech" function in Gauss or elsewhere in the econometrics textbook, especially in Lutkepohl (2005) as well as Kilian & Lutkepohl (2017) SVAR.
It merely returns the elements on and below the diagonal, then stacks column-by-column. There is another function "vechmd" in the community dealing with 3 or 4-dimensional matrix, but I think it should be the original one for ease to code VAR/SVAR estimation.
Citation pour cette source
BINH PHAM (2024). vech function (https://www.mathworks.com/matlabcentral/fileexchange/66077-vech-function), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |