How do I generate exponential numbers from 0 to 1?

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

댓글 수: 1

"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)))

카테고리

도움말 센터File Exchange에서 Random Number Generation에 대해 자세히 알아보기

질문:

2015년 4월 24일

댓글:

2015년 4월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by