What is the difference between rand and randi when using it in a 3D array
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shivam
am 25 Aug. 2018
Kommentiert: Foad Brakhasi
am 18 Jan. 2023
What is the difference between rand and randi when using it in a 3D array
0 Kommentare
Akzeptierte Antwort
KALYAN ACHARJYA
am 25 Aug. 2018
Bearbeitet: KALYAN ACHARJYA
am 25 Aug. 2018
Its similar as usual, rand for uniformly distributed random number including floatings numbers, whereas randi for integers.
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!