How to make this a real number
Mostrar comentarios más antiguos
Hello,
My MatLab code outputs this 1.3357e+03 and I think this can be converted to a number like 1335.7.
I would like the MatLab function that will help me convert it.
Thanks for your help.
1 comentario
Hasan
el 20 de Dic. de 2022
vpa(ans)
Respuesta aceptada
Más respuestas (2)
Jurgen
el 30 de Nov. de 2012
0 votos
sprintf?
Walter Roberson
el 30 de Nov. de 2012
format long g
1 comentario
Matt Fig
el 30 de Nov. de 2012
Even
format short g
gets it.
Categorías
Más información sobre Logical 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!