getting the variable size value
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a variable of size x*y .what matlab command is used to get the x value.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Ned Gulley
le 14 Juin 2011
[m,n] = size(X)
m = size(X,dim)
So to find the number of rows, you can say
numRows = size(X,1)
Voir également
Catégories
En savoir plus sur Encryption / Cryptography dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!