How to create Matrix of known dimensions with random values?
Afficher commentaires plus anciens
For example A matrix with 5 rows and 3 columns?
Réponse acceptée
Plus de réponses (1)
Torsten
le 24 Mai 2021
0 votes
For random numbers uniformly distributed on [0,1] :
A = rand(5,3);
Catégories
En savoir plus sur Random Number Generation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!