Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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!

Respuestas (0)

Categorías

Más información sobre Random Number Generation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by