MATLAB: How to extract cell array in matlab

cell arraysMATLAB

Hello.. Anyone does know? I need to extract from cell array (1×1 cell). For example > '22.11.2011 13:58:56.16' from this (1×1 cell).I want to extract time in second (:56) .How can I do. Thanks.

Best Answer

c={'22.11.2011 13:58:56.16','22.11.2011 13:58:40.16'};
d=datevec(c);
floor(d(:,6))