error in if condition
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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 commentaire
Andreas Bernatzky
le 7 Juin 2020
code works fine for me
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!