Differences between two vectors that suppose to be equal
Mostrar comentarios más antiguos
Does anyone know why those are not all equal?
a=.1:.1:.9; b=[.1 .2 .3 .4 .5 .6 .7 .8 .9];
a==b
1 1 0 1 1 1 1 1 1
a(3)-b(3)
5.551115123125783e-17
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!