How can i randomly insert 14 1's in a array of two thousand zeros?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Taikhum Vahanvaty
am 7 Aug. 2020
Kommentiert: Taikhum Vahanvaty
am 7 Aug. 2020
i.e. I have a array of two thousand zeros, in this I want to randomly insert 1, fourteen times. How can I do this?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
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!