Is there a way to change format of Mat lab workspace?
조회 수: 9 (최근 30일)
이전 댓글 표시
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
채택된 답변
Walter Roberson
2016년 3월 6일
In Preferences select Variables and there change the default format for variables.
댓글 수: 2
John D'Errico
2016년 3월 6일
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!