Clear Filters
Clear Filters

็How to compare value in cell array

11 views (last 30 days)
status == 'A' status is cell array has A is value error Undefined operator '==' for input arguments of type 'cell'. how to fix this promblem

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 13 Jun 2017
cellfun(@(x)x == 'A',status)

More Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!