How to fix this error (SIGMA must be a symmetric positive semi-definite matrix)?

조회 수: 14 (최근 30일)
Nisar Ahmed
Nisar Ahmed 2021년 6월 15일
댓글: James Tursa 2021년 6월 15일
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
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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by