How do I generate exponential numbers from 0 to 1?

2 visualizzazioni (ultimi 30 giorni)
How do I generate exponential numbers from 0 to 1, the numbers should be random with a increasing value Thanks!
  1 Commento
Image Analyst
Image Analyst il 24 Apr 2015
"random with a increasing value" does not make sense. If they're always increasing, then they're not random, are they?

Accedi per commentare.

Risposta accettata

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

Più risposte (1)

Image Analyst
Image Analyst il 24 Apr 2015

Categorie

Scopri di più su Random Number Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by