Scientific Notation Problems, will not display properly
19 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (1 件)
Sai Sri Pathuri
2020 年 5 月 27 日
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.
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!