Displaying Numbers after decimal.

1 回表示 (過去 30 日間)
ck
ck 2016 年 5 月 28 日
回答済み: Star Strider 2016 年 5 月 28 日
When i try to display numbers such as 0.00000000000000005 or with e^-39 or so , it shows as 0 in the result. What function should i used to show them as they are ?

回答 (1 件)

Star Strider
Star Strider 2016 年 5 月 28 日
To display them in the Command Window to their full precision, type:
format long e
in the Command Window.
See the documentation for the format function for details.

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by