How do I generate exponential numbers from 0 to 1?

2 次查看(过去 30 天)
How do I generate exponential numbers from 0 to 1, the numbers should be random with a increasing value Thanks!
  1 个评论
Image Analyst
Image Analyst 2015-4-24
"random with a increasing value" does not make sense. If they're always increasing, then they're not random, are they?

请先登录,再进行评论。

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2015-4-24
编辑:Azzi Abdelmalek 2015-4-24
ii=sort(exp(randi([-10 0],10,1)))

更多回答(1 个)

Image Analyst
Image Analyst 2015-4-24

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by