Filter löschen
Filter löschen

problem with logical number : how minimize calculate

1 Ansicht (letzte 30 Tage)
Luca Re
Luca Re am 21 Jul. 2023
Beantwortet: Voss am 21 Jul. 2023
hi,
i hope you understand my problem with pics
Input: a, x

Akzeptierte Antwort

Voss
Voss am 21 Jul. 2023
a = [0 3 10 0 3 8];
x = 5;
solution = a > 0 & a < x
solution = 1×6 logical array
0 1 0 0 1 0

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by