A collection of MATLAB functions for repairing invalid (indefinite) covariance and correlation matrices, based on the paper
N. J. Higham, N. Strabić, and V. Šego, "Restoring Definiteness via Shrinking, with an Application to Correlation Matrices with a Fixed Block", MIMS EPrint 2014.54, Manchester Institute for Mathematical Sciences, The University of Manchester, UK, November 2014.
Nick Higham (2021). higham/shrinking (https://github.com/higham/shrinking), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!