Problem in displaying numbers

1 回表示 (過去 30 日間)
Mohammed Abdul Wadood
Mohammed Abdul Wadood 2020 年 1 月 19 日
hi.
i am new in matlab, i have a problem when i calculating two variable like:
x = 8000.2
y = 8000.3
the result appears like:
z = x + y = 1.6001e+04
while the result must be 16000.5
is i wrong in something or there is some setting must be corrected? any one help my pleas, thank you.

採用された回答

Walter Roberson
Walter Roberson 2020 年 1 月 19 日
format long g
  1 件のコメント
Mohammed Abdul Wadood
Mohammed Abdul Wadood 2020 年 1 月 19 日
it's solved my problem
thank you sir, thank you so much

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by