num2str default format
조회 수: 9 (최근 30일)
이전 댓글 표시
I want to print multiple values using fprintf, but with the same number formatting as num2str. Is there a format string that will give the same behavior as num2str?
댓글 수: 0
답변 (2개)
Walter Roberson
2020년 5월 4일
no. num2str does a bunch of width calculations and chooses output format based on integer vs floating point
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!