Nearest positive semi-definite covariance matrix

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

Sie verfolgen jetzt diese Einreichung

The function performs a nonlinear, constrained optimization to find a positive semi-definite matrix that is closest (2-norm) to a symmetric matrix that is not positive semi-definite which the user provides to the function. The optimization is subject to the constraint that the output matrix' diagonal elements as well as its eigenvalues are non-negative.

Zitieren als

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

Quellenangaben

Inspiriert: nearestSPD

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.1.0.0

Example input matrix added

1.0.0.0