Effacer les filtres
Effacer les filtres

use mvnrnd to generate random numbers

1 vue (au cours des 30 derniers jours)
yosh
yosh le 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.

Réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by