how to stop scientific notation in matrix
36 次查看(过去 30 天)
显示 更早的评论
when displaying a matrix i just want it to display it wit whole numbers and decimals but is comes out like this.
Money =
1.0e+05 *
Columns 1 through 7
1.0000 1.0500 1.1025 1.1576 1.2155 1.2763 1.3401
Columns 8 through 11
1.4071 1.4775 1.5513 1.6289
How do i change the format
0 个评论
采纳的回答
Star Strider
2014-11-2
2 个评论
Nathan Porter
2018-10-18
The option that the OP is looking is something like:
format shortG
Star Strider
2018-10-18
... or, since the array is named ‘Money’, perhaps
format bank
更多回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!