MATLAB: Find a value in a vector of type char

find function

i have vector composed from date and time for exemple:
%
date_time=[date time]
date_time=['06.09.2010' '1:18.25']
date is a 40000*1 cell
time is a 40000*1 cell
how could i find the index of a time_date= '7.5.2012' '2:20:59' with the function find or any other function?
thank you

Best Answer

ismember(data_time,{'7.5.2012' '2:20:59'},'rows');