Error when using the function exprnd.
Afficher commentaires plus anciens
Hi everyone,
I got the following from using the function exprnd. I am not quite sure what went wrong, have anyone experienced this before? How do you troubleshoot it? Thanks in advance.
Error message:
Error using rand Input following 'like' must be a variable of a type that supports RAND. For example, double and single variables support RAND.
Error in exprnd (line 34) r = -mu .* log(rand(sizeOut, 'like', mu)); % == expinv(u, mu)
Thanks, SM
Réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!