Nearest positive semi-definite covariance matrix

Find nearest positive semi-definite matrix to a symmetric matrix that is not positive semi-definite

Download
Download

You are now following this Submission

Cite As

Marco B. (2026). Nearest positive semi-definite covariance matrix (https://in.mathworks.com/matlabcentral/fileexchange/34182-nearest-positive-semi-definite-covariance-matrix), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: nearestSPD

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

Example input matrix added

Download
1.0.0

Download