How do I generate exponential numbers from 0 to 1?

How do I generate exponential numbers from 0 to 1, the numbers should be random with a increasing value Thanks!

1 commentaire

"random with a increasing value" does not make sense. If they're always increasing, then they're not random, are they?

Connectez-vous pour commenter.

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 24 Avr 2015
Modifié(e) : Azzi Abdelmalek le 24 Avr 2015
ii=sort(exp(randi([-10 0],10,1)))

Catégories

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

Translated by