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

1 view (last 30 days)
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?

Accepted Answer

Chugh
Chugh on 13 Mar 2018
I found the answer. I converted the dates in numbers using datenum. It works now.

More Answers (0)

Categories

Find more on Time Series in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!