Scientific Notation Problems, will not display properly

3 visualizaciones (últimos 30 días)
Darnell Gawdin
Darnell Gawdin el 24 de Mayo de 2020
Comentada: Darnell Gawdin el 27 de Mayo de 2020
I'm trying to get matlab to display number in scientific notation below is the code I'm using
format longE
areaFace = 3.8e+7 displays areaFace = 38000000
Engineering format give me...
format longEng
areaFace = 3.8e+7 displays areaFace = 38.0000000000000e+006
what is going wrong?

Respuestas (1)

Sai Sri Pathuri
Sai Sri Pathuri el 27 de Mayo de 2020
You may refer Tips in format function documentation. It states that the Integer-valued and floating-point numbers with a maximum of 9 digits do not display in scientific notation.
  1 comentario
Darnell Gawdin
Darnell Gawdin el 27 de Mayo de 2020
Thanks, I got a replay from Matlab. That's just weird. Why does it display engineering but not scientific. I've always used scientific since forever and never eng.

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by