Azzera filtri
Azzera filtri

problem with logical number : how minimize calculate

1 visualizzazione (ultimi 30 giorni)
hi,
i hope you understand my problem with pics
Input: a, x

Risposta accettata

Voss
Voss il 21 Lug 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

Più risposte (0)

Categorie

Scopri di più su Multidimensional Arrays 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