Find with an indexed struc
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
AwedBy Matlab
le 31 Juil 2014
Commenté : AwedBy Matlab
le 1 Août 2014
I have a struc M whose size is (88,1)
If for instance I type M(46,1).acc I get ans = 0
I typed find(M(:,1).acc==0) to find the rows where the acc field is zero, but got the error Error using == : Too many input arguments.
Any help? Thanks!!
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Matrix Indexing 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!