Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

error in if condition

조회 수: 1 (최근 30일)
abdul rehman
abdul rehman 2020년 6월 7일
마감: madhan ravi 2020년 6월 7일
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
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!

Translated by