How to obtain a logical array?

1 visualización (últimos 30 días)
Deepa Maheshvare
Deepa Maheshvare el 30 de Ag. de 2020
Respondida: KSSV el 30 de Ag. de 2020
I have an array
X = 1:10
using find to check for an element returns
find(X==10)
ans
10
I would like to know how to return a logical array instead of a single value.

Respuesta aceptada

KSSV
KSSV el 30 de Ag. de 2020

Más respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by