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!