0
I have a cell array with different datatypes, from an excel sheet that I need to read in, but which is beyond my control.
[~, ~, raw] = xlsread(xlsFile)
raw is now a r-by-c cell vector, for simplicity assume it has only one row. It will be filled with numbers (excel datenums to be exact) or other values such as [NaN] or ''. Thus, cell2mat() will not work.
What is the best way to extract only the number values? Is there a way to get an index where a cell contains a number?
Thanks.