is there a function that calculates the no. of rows or cols
Afficher commentaires plus anciens
a=[1 1 1;1 1 1;1 1 1;1 1 1]
no of rows=4
col=3
Réponse acceptée
Plus de réponses (1)
Sean de Wolski
le 2 Déc 2013
[r,c] = size(a);
For more info:
doc size
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!