Filter löschen
Filter löschen

็How to compare value in cell array

11 Ansichten (letzte 30 Tage)
Adisorn Phanukthong
Adisorn Phanukthong am 13 Jun. 2017
status == 'A' status is cell array has A is value error Undefined operator '==' for input arguments of type 'cell'. how to fix this promblem

Akzeptierte Antwort

Andrei Bobrov
Andrei Bobrov am 13 Jun. 2017
cellfun(@(x)x == 'A',status)
  2 Kommentare
Adisorn Phanukthong
Adisorn Phanukthong am 13 Jun. 2017
thank you
Adisorn Phanukthong
Adisorn Phanukthong am 13 Jun. 2017
what is @(x)x ?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by