็How to compare value in cell array

status == 'A' status is cell array has A is value error Undefined operator '==' for input arguments of type 'cell'. how to fix this promblem

 Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 13 de Jun. de 2017
cellfun(@(x)x == 'A',status)

2 comentarios

Adisorn Phanukthong
Adisorn Phanukthong el 13 de Jun. de 2017
thank you
Adisorn Phanukthong
Adisorn Phanukthong el 13 de Jun. de 2017
what is @(x)x ?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by