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.

 Akzeptierte Antwort

Weitere Antworten (0)

Kategorien

Produkte

Version

R2019b

Gefragt:

am 30 Aug. 2020

Beantwortet:

am 30 Aug. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by