Scientific Notation Problems, will not display properly
조회 수: 3 (최근 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!