Borrar filtros
Borrar filtros

problem with logical number : how minimize calculate

1 visualización (últimos 30 días)
Luca Re
Luca Re el 21 de Jul. de 2023
Respondida: Voss el 21 de Jul. de 2023
hi,
i hope you understand my problem with pics
Input: a, x

Respuesta aceptada

Voss
Voss el 21 de Jul. de 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

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by