MATLAB: Convert a column of dates

date convert column

I can use the datenum command for individual cells, but can not seem to apply it to a whole column. What am I doing wrong? Thanks, Stephen

Best Answer

try cellfun
cellfun(@datenum,...
see the doc
doc cellfun