필터 지우기
필터 지우기

Is there a way to change format of Mat lab workspace?

조회 수: 21 (최근 30일)
Tony
Tony 2016년 3월 6일
댓글: John D'Errico 2016년 3월 6일
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?'

채택된 답변

Walter Roberson
Walter Roberson 2016년 3월 6일
In Preferences select Variables and there change the default format for variables.
  댓글 수: 2
Tony
Tony 2016년 3월 6일
Thank you!
John D'Errico
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 CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by