hi everyone, i'm a new matlab user and i need toknow what does ismember do . can anyone help me please . thank you

댓글 수: 1

Oleg Komarov
Oleg Komarov 2012년 5월 12일
Read the documentation: doc ismember.

댓글을 달려면 로그인하십시오.

 채택된 답변

the cyclist
the cyclist 2012년 5월 12일

0 개 추천

I suggest you read
doc ismember
for the full documentation. A simple application is determining whether elements of one numeric vector are in another:
tf = ismember([1 2 4],[2 5])
would result in
tf = [0 1 0]
because 2 (from the first input) is the only element that appears in the second input.

댓글 수: 6

Deborah Ukoha
Deborah Ukoha 2020년 5월 3일
Thanks, but please could you give me an example of how to use this code in something like my work?
Rik
Rik 2020년 5월 3일
Since you don't give the data from your work: no, of course not. It is not (yet) possible to read minds with Matlab.
Read the documentation for examples. If that doesn't help you need to make it possible for us to help you.
Image Analyst
Image Analyst 2020년 5월 3일
Actually I think Walter has a beta copy of the Mind Reading Toolbox.
Walter Roberson
Walter Roberson 2020년 5월 4일
Alpha copy, not beta copy. Goldarn thing keeps gettin stuck in the dadgum snow.
the cyclist
the cyclist 2020년 5월 4일
I knew he was going to say that.
the cyclist
the cyclist 2020년 5월 4일
Deborah, being less facetious now ...
As Rik suggested, there are several examples in the documentation for ismember. Do any of those help? If not, I would suggest opening a new question, provide some code that you are working on, and explain why you think ismember might help. You need to provide more detail, for us to be able to help you.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

질문:

2012년 5월 12일

댓글:

2020년 5월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by