getting the variable size value
Mostra commenti meno recenti
I have a variable of size x*y .what matlab command is used to get the x value.
Risposta accettata
Più risposte (1)
Ned Gulley
il 14 Giu 2011
[m,n] = size(X)
m = size(X,dim)
So to find the number of rows, you can say
numRows = size(X,1)
1 Commento
ramakrishna bathini
il 14 Giu 2011
Categorie
Scopri di più su Encryption / Cryptography in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!