Effacer les filtres
Effacer les filtres

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

21 vues (au cours des 30 derniers jours)
Tony
Tony le 6 Mar 2016
Commenté : John D'Errico le 6 Mar 2016
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?'

Réponse acceptée

Walter Roberson
Walter Roberson le 6 Mar 2016
In Preferences select Variables and there change the default format for variables.
  2 commentaires
Tony
Tony le 6 Mar 2016
Thank you!
John D'Errico
John D'Errico le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by