็How to compare value in cell array

6 vues (au cours des 30 derniers jours)
Adisorn Phanukthong
Adisorn Phanukthong le 13 Juin 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

Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 13 Juin 2017
cellfun(@(x)x == 'A',status)
  2 commentaires
Adisorn Phanukthong
Adisorn Phanukthong le 13 Juin 2017
thank you
Adisorn Phanukthong
Adisorn Phanukthong le 13 Juin 2017
what is @(x)x ?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by