Borrar filtros
Borrar filtros

How to test cell array membership

8 visualizaciones (últimos 30 días)
Kevin
Kevin el 31 de Jul. de 2014
Editada: Image Analyst el 31 de Jul. de 2014
This seems like a simple question, but how do I test for a string's membership in a cell array? Is there a function that returns 1 if string exists in cell array and 0 if not?
Thanks.

Respuesta aceptada

per isakson
per isakson el 31 de Jul. de 2014
Editada: Image Analyst el 31 de Jul. de 2014
Search ismember

Más respuestas (0)

Categorías

Más información sobre Cell Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by