Is there something wrong with the find function?
Mostrar comentarios más antiguos
t=-0.8:0.001:0.8; find(t==0.2)%try to find out the index of t=0.2; See the result. And it is empty. I think it is a bug of the Matlab. Then try to type. find(t==0); the result will show up. If change t=-0.6:0.001:1; find(t==0.2)will be show up. I am not sure what is wrong with the Matlab or if there is something wrong with my understanding about the function.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Performance and Memory en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!