How to display Decimal number without e (x.xxxxxe-xx) in a matrix
조회 수: 29 (최근 30일)
이전 댓글 표시
답변 (1개)
Walter Roberson
2020년 4월 14일
Use compose() with a string as the format.
>> compose("%.8f", [0.162109;-0.03215;7.20248e-05])
ans =
3×1 string array
"0.16210900"
"-0.03215000"
"0.00007202"
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Numeric Types에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
