use mvnrnd to generate random numbers

조회 수: 5 (최근 30일)
yosh
yosh 2020년 11월 8일
I want to use mvnrnd to generate random numbers with a multivariate normal distribution. However, I get an error saying "sigma must be a symmetric anti-positive matrix" and cannot execute it. Even if we confirmed the covariance, the value was semi-positive including 0, and we also confirmed that it was symmetric using issymmetric. I checked it many times and got an error even though it was a symmetric definite matrix. I would like to know the solution.

답변 (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