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??
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Uzochukwu Akabueze
le 12 Oct 2021
Commenté : Uzochukwu Akabueze
le 13 Oct 2021
B = reshape(A,rowSize(A)/6,[],6)
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!