Prev: bitwise operation in simulink.
Next: affinity matrix
From: Jan Simon on 8 Jan 2010 06:55 Dear Joseph! > tic;A = strrep(SampleVec, ' 0:00:00' , '');toc; > tic;B = cellstr(datestr(SampleVec,'mm/dd/yyyy'));toc; Not fast also, but cuts all times: C = cellfun(@(c) c(1:findstr(c, ' ')), SampelVec, 'Uniformoutput', false); Jan |