how to stop scientific notation in matrix
Show older comments
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
Accepted Answer
More Answers (2)
Nathan Porter
on 18 Oct 2018
format shortG
Stavros Skouras
on 20 Jun 2018
0 votes
format bank %(in R2018a)
1 Comment
Walter Roberson
on 21 Jun 2018
Note that would use exactly two decimals.
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!