Organize matrix in a random way
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
eden meirovich
am 28 Apr. 2021
Kommentiert: eden meirovich
am 28 Apr. 2021
Hello, i have a matrix,H which have N rows and n columns.lets say N = 20 and n is 3. i would like to rearange only the rows in H, in a radom way. but keep every element in the say column he was before. so that h(1,:) will be moved to a radom place h(random number,:)
is there a built in function than can do this?
i think i know how to di it by my self, but can find anything bulit in.
thank u!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Particle & Nuclear Physics 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!