Decimal format for values less than 1
古いコメントを表示
I want to get the answer in decimal format...like x = 0.000015. Matlab shows it 1.5000e-05...
回答 (1 件)
Star Strider
2018 年 3 月 30 日
0 投票
4 件のコメント
Tausif Raza
2018 年 3 月 30 日
Star Strider
2018 年 3 月 30 日
Unless you want to write your own sprintf calls, format is the only option I know of.
Walter Roberson
2018 年 3 月 30 日
format long g
helps, but only up to 3 zeros before the first digit.
For smaller numbers, you need to sprintf() or fprintf()
Tausif Raza
2018 年 3 月 31 日
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!