Matlab Math error seems can someone help me out

2 次查看(过去 30 天)
-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