How do I generate exponential numbers from 0 to 1?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Thijs Ruigrok
le 24 Avr 2015
Commenté : Thijs Ruigrok
le 24 Avr 2015
How do I generate exponential numbers from 0 to 1, the numbers should be random with a increasing value Thanks!
1 commentaire
Image Analyst
le 24 Avr 2015
"random with a increasing value" does not make sense. If they're always increasing, then they're not random, are they?
Réponse acceptée
Azzi Abdelmalek
le 24 Avr 2015
Modifié(e) : Azzi Abdelmalek
le 24 Avr 2015
ii=sort(exp(randi([-10 0],10,1)))
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Random Number Generation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!