get rid of e notation
Mostrar comentarios más antiguos
how do i get rid of the e notation in a variable? eg 4.321e+003, i just need it as 4321. its stopping me from plotting a graph.
Respuesta aceptada
Más respuestas (2)
Friedrich
el 12 de Jul. de 2011
Hi,
have a look at the format function:
So this should work
format long
1 comentario
Naveen Francis
el 12 de Jul. de 2011
Paulo Silva
el 12 de Jul. de 2011
0 votos
No it's not stopping you unless the variable is a string instead of a number, please provide more details.
3 comentarios
Naveen Francis
el 12 de Jul. de 2011
Naveen Francis
el 12 de Jul. de 2011
Paulo Silva
el 12 de Jul. de 2011
something doesn't seem right, please provide the code and a sample of the data
Categorías
Más información sobre Logical 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!