Replace missing value of cell array with NaN
20 views (last 30 days)
Show older comments
please find attached file, I tried to replace missing values (-1.27605887595352e+39) with NaN, unfortunately I encountering with the following error. Thanks in advance any help.
INDEX = cellfun(@(x) (x<-1),presglb,'UniformOutput',false) ;
>> presglb_new = presglb(INDEX);
Function 'subsindex' is not defined for values of class 'cell'.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!