MATLAB: How to find the index or entry with respect to date and time in a time-series data

datadataimportMATLABtime series

Hi, I have a time-series data and I want to find entries closest to e.g. 13-March-2018 24:00:00. Could you help me here?

Best Answer

I found the answer. I converted the dates in numbers using datenum. It works now.