Matlab Math error seems can someone help me out

조회 수: 2 (최근 30일)
Vivek Kandhagatla
Vivek Kandhagatla 2021년 3월 11일
답변: Basil C. 2021년 3월 11일
-0.05<-0.0020
ans =
logical
1
>> -0.05>-0.0020
ans =
logical
0

답변 (1개)

Basil C.
Basil C. 2021년 3월 11일
-0.05<-0.0020
checks if -0.05 is less than -0.002 and returns a logical 1 which means that it is true.
The same logic can be applied for -0.05>-0.0020 as well

카테고리

Help CenterFile Exchange에서 Function Creation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by