find behavior is weird
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ahmed shaaban
le 24 Fév 2015
Commenté : ahmed shaaban
le 24 Fév 2015
Hello all I am trying to use find to find some value, however, it sometimes works, other not.
gLat = -40:0.1:40;
find(gLat == 4.2)
I found
ans =
Empty matrix: 1-by-0
Any explanation for this. Thanks in advance
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical 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!