Matlab Math error seems can someone help me out

2 views (last 30 days)
-0.05<-0.0020
ans =
logical
1
>> -0.05>-0.0020
ans =
logical
0

Answers (1)

Basil C.
Basil C. on 11 Mar 2021
-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

Categories

Find more on Function Creation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!