In python to check whether a particular exists inside a list or an array, i can type
element in list
Is there a MATLAB equivalent for the same?

 채택된 답변

Birdman
Birdman 2020년 3월 31일

0 개 추천

exist
command will do. Check its usage:

댓글 수: 2

Krishna Desabhotla
Krishna Desabhotla 2020년 3월 31일
편집: Krishna Desabhotla 2020년 3월 31일
I'm using this to extract particular data from a table as in my use case is
table = table(table.column in accepted_values)
I should have phrased the question better, thanks for providing the answer
Birdman
Birdman 2020년 3월 31일
You are welcome.

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

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

질문:

2020년 3월 31일

편집:

2020년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by