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.

 채택된 답변

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

제품

릴리스

R2019b

태그

질문:

2020년 8월 30일

답변:

2020년 8월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by