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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 19 de En. de 2020

0 votos

format long g

1 comentario

Mohammed Abdul Wadood
Mohammed Abdul Wadood el 19 de En. de 2020
it's solved my problem
thank you sir, thank you so much

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by