How to fix this error (SIGMA must be a symmetric positive semi-definite matrix)?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
This error appears in my code: while the size of SIGMA (if it is sigma_m) is 6005 6005, means it is laready symmetric.
Error using mvnrnd (line 112)
SIGMA must be a symmetric positive semi-definite matrix.
Error in Bayesian_Visco_AVO_Inversion (line 79)
msim = mvnrnd(Mu_m, Sigma_m)';
1 件のコメント
James Tursa
2021 年 6 月 15 日
The fact that the size is 6005 x 6005 only means that it is square, which is not the same thing as symmetric positive semi-definite:
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!