Find Command and Empty matrix: 1-by-0 Error
Afficher commentaires plus anciens
I know there is a value but find command generate error. Now sure how to fix!
x_matrix=[0:0.1:0.9] [a]=find(x_matrix==0.3)
results a =
Empty matrix: 1-by-0
Réponses (1)
Andrei Bobrov
le 14 Fév 2012
a = find(abs(x_matrix - 0.3) < 100*eps)
Catégories
En savoir plus sur Particle & Nuclear Physics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!