getting the variable size value
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a variable of size x*y .what matlab command is used to get the x value.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Ned Gulley
am 14 Jun. 2011
[m,n] = size(X)
m = size(X,dim)
So to find the number of rows, you can say
numRows = size(X,1)
Siehe auch
Kategorien
Mehr zu Encryption / Cryptography finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!