use mvnrnd to generate random numbers

1 visualizzazione (ultimi 30 giorni)
yosh
yosh il 8 Nov 2020
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.

Risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by