How do I generate exponential numbers from 0 to 1?

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

Sign in to comment.

Accepted Answer

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

More Answers (1)

Image Analyst
Image Analyst on 24 Apr 2015

Categories

Find more on Random Number Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!