Nearest positive semi-definite covariance matrix

版本 1.1.0.0 (5.1 KB) 作者: Marco B.
Find nearest positive semi-definite matrix to a symmetric matrix that is not positive semi-definite
1.1K 次下载
更新时间 2011/12/12

查看许可证

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.

引用格式

Marco B. (2024). Nearest positive semi-definite covariance matrix (https://www.mathworks.com/matlabcentral/fileexchange/34182-nearest-positive-semi-definite-covariance-matrix), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息
致谢

启发作品: nearestSPD

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Example input matrix added

1.0.0.0