is there a function that calculates the no. of rows or cols
Mostrar comentarios más antiguos
a=[1 1 1;1 1 1;1 1 1;1 1 1]
no of rows=4
col=3
Respuesta aceptada
Más respuestas (1)
Sean de Wolski
el 2 de Dic. de 2013
[r,c] = size(a);
For more info:
doc size
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!