Converts a non positive definite symmetric matrix to positive definite symmetric matrix

Function that transforms a non positive definite symmetric matrix to a positive definite.
742 Downloads
Updated 2 Apr 2012

View License

Function that transforms a non positive definite symmetric matrix to positive definite symmetric matrix -i.e. invertible-.

One particular case could be the inversion of a covariance matrix. The eigendecomposition of a matrix is used to add a small value to eigenvalues <= 0.

Cite As

Felix Fernando González-Navarro (2024). Converts a non positive definite symmetric matrix to positive definite symmetric matrix (https://www.mathworks.com/matlabcentral/fileexchange/35938-converts-a-non-positive-definite-symmetric-matrix-to-positive-definite-symmetric-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra 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.0.0.0