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일

0 개 추천

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개)

카테고리

제품

릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by