Suppose I have a 2 by 60 matrix, like A = [1:60,2:61] how can I reshape it by the first 10 rows so that I can get a 20 by 6 matrix??
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Uzochukwu Akabueze
il 12 Ott 2021
Commentato: Uzochukwu Akabueze
il 13 Ott 2021
B = reshape(A,rowSize(A)/6,[],6)
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!