Effacer les filtres
Effacer les filtres

Generate random decimal value

4 vues (au cours des 30 derniers jours)
Wen Shu Wong
Wen Shu Wong le 2 Déc 2020
Commenté : Cris LaPierre le 2 Déc 2020
How to generate random decimal value between 1.00 to 2.00?

Réponse acceptée

Cris LaPierre
Cris LaPierre le 2 Déc 2020
  4 commentaires
Wen Shu Wong
Wen Shu Wong le 2 Déc 2020
Thank you. Is it possible to create a left skewed distribution from the distribution above? I can't seem to find any resources on this.
Cris LaPierre
Cris LaPierre le 2 Déc 2020
rand creates a uniform distribution. You might look into the pearsrnd function, as that lets you define your distribution by setting the mean, standard deviation, skewness and kurtosis.

Connectez-vous pour commenter.

Plus de 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