Effacer les filtres
Effacer les filtres

Problem of generating random number from Inverse-Wishart distribution with iwishrnd

1 vue (au cours des 30 derniers jours)
YU BAI
YU BAI le 16 Mar 2019
Hi to all, I find an interesting phenomenon in using iwishrnd to generate random numbers from Inverted-Wishart distribution. In my laptop, everything is ok. However, when I move my code to a server (OS: linux), occassionally it cause errors since matlab detects that the scale matrix is not positive definite. Could anyone tell me the possible reason and solution? Thanks!

Réponses (0)

Catégories

En savoir plus sur Random Number Generation 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