Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

error in if condition

1 visualización (últimos 30 días)
abdul rehman
abdul rehman el 7 de Jun. de 2020
Cerrada: madhan ravi el 7 de Jun. de 2020
Why the code is giving error
digits(2)
a=vpa(rand(1));
if a>0.5
disp('the value is false')
else
disp('true')
end
  1 comentario
Andreas Bernatzky
Andreas Bernatzky el 7 de Jun. de 2020
code works fine for me

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by