What is the difference between rand and randi when using it in a 3D array
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Shivam
le 25 Août 2018
Commenté : Foad Brakhasi
le 18 Jan 2023
What is the difference between rand and randi when using it in a 3D array
0 commentaires
Réponse acceptée
KALYAN ACHARJYA
le 25 Août 2018
Modifié(e) : KALYAN ACHARJYA
le 25 Août 2018
Its similar as usual, rand for uniformly distributed random number including floatings numbers, whereas randi for integers.
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!