Why does test(2)=1 create a 1x2 array rather than a 2x1 array?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Why does
test(2)=1
create a 1x2 array rather than a 2x1 array, when test has not been defined before? Is there any reasoning behind it?
0 commentaires
Réponses (1)
Walter Roberson
le 12 Mar 2016
History.
So that when people do quick calculations, the results will show up across the page rather than using up a lot of vertical lines each with small amounts of output.
0 commentaires
Voir également
Catégories
En savoir plus sur Matrices and Arrays dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!