what is the meaning of this code ?

2 Ansichten (letzte 30 Tage)
Ameer Kadhim
Ameer Kadhim am 27 Mai 2018
Beantwortet: Rik am 27 Mai 2018
sum([9.34395000000000e-05,-277,914] <= [4.78293000000000e-07,-277,832])

Akzeptierte Antwort

Rik
Rik am 27 Mai 2018
The exact meaning depends on the context.
The comparison is calculated element by element, so those vectors convert to [false true false]. Then the sum converts it to double and calculates the sum, in this case 1.

Weitere Antworten (0)

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by