setting format in workspace view

7 ビュー (過去 30 日間)
Leslie Deck
Leslie Deck 2018 年 3 月 9 日
コメント済み: Leslie Deck 2018 年 3 月 9 日
Double clicking on a workspace variable brings up a window with 3 tabs: PLOTS, VARIABLE and VIEW. Clicking the VIEW tab brings up a drop down menu to set the variable format, default is "short fixed decimal". The format "long fixed decimal" does not seem to work as I would expect, it shows more decimal places but in scientific notation - just like "long scientific notation". Is there a setting I am missing to produce the expected behavior?

回答 (1 件)

David Fletcher
David Fletcher 2018 年 3 月 9 日
It probably occurs when the number becomes too large or too small to be represented by the long fixed decimal format. It will also tend to happen with floating point numbers when they cannot be represented exactly - instead you will get the number+/-eps (see the docs on floating point relative accuracy)
  1 件のコメント
Leslie Deck
Leslie Deck 2018 年 3 月 9 日
Hmm, that's unfortunate. Its mainly an annoyance, since I now always need to look for an exponent.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by