How can this be true? (<) operator not working
Mostrar comentarios más antiguos
I noticed there had to be a bug in some of my code so I went into the debugger. While in the debugger I noticed a while loop not terminating when it was supposed to. Here is the root of the problem:
increment =
1.0000e-01
K>> increment < .1
ans =
1
How can this be happening?
1 comentario
Jason
el 11 de Jul. de 2011
Respuesta aceptada
Más respuestas (1)
Sean de Wolski
el 11 de Jul. de 2011
2 votos
Categorías
Más información sobre Startup and Shutdown 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!