็How to compare value in cell array

조회 수: 6 (최근 30일)
Adisorn Phanukthong
Adisorn Phanukthong 2017년 6월 13일
댓글: Adisorn Phanukthong 2017년 6월 13일
status == 'A' status is cell array has A is value error Undefined operator '==' for input arguments of type 'cell'. how to fix this promblem

채택된 답변

Andrei Bobrov
Andrei Bobrov 2017년 6월 13일
cellfun(@(x)x == 'A',status)
  댓글 수: 2
Adisorn Phanukthong
Adisorn Phanukthong 2017년 6월 13일
thank you
Adisorn Phanukthong
Adisorn Phanukthong 2017년 6월 13일
what is @(x)x ?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by