Is there a way to change format of Mat lab workspace?
9 views (last 30 days)
Show older comments
Hi, so I used the function 'format bank' in the command window before running my code. After running my code, it sends my data into a matrix to the workspace where I can then see it like an excel sheet. Problem is, the workspace data is in scientific notation still. Is there a way to get my workspace data to also be in 'bank format' or 'non-scientific notation?'
0 Comments
Accepted Answer
Walter Roberson
on 6 Mar 2016
In Preferences select Variables and there change the default format for variables.
2 Comments
John D'Errico
on 6 Mar 2016
Walter could have pointed out that this is only a display issue. The data is always stored in the same "format", which is defined by an IEEE spec. The difference is just in how the numbers are displayed on the command line.
More Answers (0)
See Also
Categories
Find more on Spreadsheets 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!