Hi
IDK how I made this to my MATLAB, but it has changed to using only 4 precision digits, how can I fix it to its default which I think might be 32?
for example I get the following answers for these codes:
>>round(pi,9)
ans =
3.1416
>>round(0.55555,3)
ans =
0.5560

 採用された回答

Walter Roberson
Walter Roberson 2019 年 11 月 30 日

0 投票

format long
or
format long g
You can also control the default that you get on startup, by going into Preferences

1 件のコメント

Payam Morsali
Payam Morsali 2019 年 12 月 1 日
thanks a lot :)

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFunction Creation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by