Matlab Math error seems can someone help me out

2 visualizzazioni (ultimi 30 giorni)
Vivek Kandhagatla
Vivek Kandhagatla il 11 Mar 2021
Risposto: Basil C. il 11 Mar 2021
-0.05<-0.0020
ans =
logical
1
>> -0.05>-0.0020
ans =
logical
0

Risposte (1)

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

Categorie

Scopri di più su Function Creation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by