MATLAB: Convert a cell column of strings to doubles

cell arraystring

I have a cell column of strings which looks like the attached file. How can I convert the column to double-precision values?

Best Answer

See if this does what you want:
D = load('string_column.mat');
data = D.owner;
out = cellfun(@(x) str2num(char(x)), data);