Matlab Math error seems can someone help me out

1 vue (au cours des 30 derniers jours)
Vivek Kandhagatla
Vivek Kandhagatla le 11 Mar 2021
-0.05<-0.0020
ans =
logical
1
>> -0.05>-0.0020
ans =
logical
0

Réponses (1)

Basil C.
Basil C. le 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

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by