is there a function that calculates the no. of rows or cols
Ältere Kommentare anzeigen
a=[1 1 1;1 1 1;1 1 1;1 1 1]
no of rows=4
col=3
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 2 Dez. 2013
[r,c] = size(a);
For more info:
doc size
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!