Returning the Matrix, Row and Column of Matrix (Basic Mat Lab)?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
John wick
le 11 Août 2019
Commenté : John wick
le 11 Août 2019
For the questions is there anyway to make the answer looks more clean or better coding?
A(1,3)
B = [1:10; 11:20; 21:30; 31:40; 41:50; 51:60; 61:70; 71:80; 81:90; 91:100; 101:110; 111:120; 121:130; 131:140;]
0 commentaires
Réponse acceptée
KALYAN ACHARJYA
le 11 Août 2019
B=reshape([1:140],[10 14])'
8 commentaires
KALYAN ACHARJYA
le 11 Août 2019
Modifié(e) : KALYAN ACHARJYA
le 11 Août 2019
Yes @Madhan @Stephen Thanks
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing 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!