How do I generate exponential numbers from 0 to 1?

2 Ansichten (letzte 30 Tage)
Thijs Ruigrok
Thijs Ruigrok am 24 Apr. 2015
Kommentiert: Thijs Ruigrok am 24 Apr. 2015
How do I generate exponential numbers from 0 to 1, the numbers should be random with a increasing value Thanks!
  1 Kommentar
Image Analyst
Image Analyst am 24 Apr. 2015
"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)))

Weitere Antworten (1)

Image Analyst
Image Analyst am 24 Apr. 2015

Kategorien

Mehr zu Random Number Generation finden Sie in Help 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