Scientific Notation Problems, will not display properly
Mostra commenti meno recenti
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?
Risposte (1)
Sai Sri Pathuri
il 27 Mag 2020
0 voti
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 Commento
Darnell Gawdin
il 27 Mag 2020
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!