error in if condition
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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
Andreas Bernatzky
2020년 6월 7일
code works fine for me
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!