num2str default format
11 ビュー (過去 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!