how to rotate a 3d matrix ?
Mostra commenti meno recenti
hy guys
i would like to rotate a 3*3 array
suppose i have A=rand(5,4,3)
i would like to rotate it in a way were A now is (4,5,3)
thank you in advance for your help
best regards
Risposta accettata
Più risposte (1)
A=randi(50,5,4,3)
rot90(A) %or imrotate(A,90)
Categorie
Scopri di più su Elementary Math in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!