isnan input arguments of type 'cell'
Show older comments
I am getting a cell error
a={'2' [NaN] '4' '5'}
isnan(a)
Undefined function 'isnan' for input arguments of type 'cell'.
How can I get around this error
Accepted Answer
More Answers (1)
Debejyo Chakraborty
on 20 Jul 2016
4 votes
Sometimes this may be necessary: b = cellfun(@isnan,a,'UniformOutput',false);
Categories
Find more on Data Type Identification 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!