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

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 24 Apr. 2015
Bearbeitet: Azzi Abdelmalek am 24 Apr. 2015
ii=sort(exp(randi([-10 0],10,1)))

Kategorien

Mehr zu Random Number Generation finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by