to find the missing date and time in the time series data?

I have a data as below,
12-06-2013,00:00;
12-06-2013,00:10;
12-06-2013,00:20;
12-06-2013,00:30;
12-06-2013,00:40;
12-06-2013,00:50;
12-06-2013,01:00;
12-06-2013,01:30;
12-06-2013,01:40;
12-06-2013,01:50;
how to find the missing date and time stamp?
Help in this...
Regards,
M. Sarfudeen

回答 (1 件)

Jonathan Sullivan
Jonathan Sullivan 2013 年 6 月 12 日

1 投票

  1. Convert the dates to a date number using datenum.
  2. Take the difference using diff.
  3. Find the outliers by comparing the differences

カテゴリ

ヘルプ センター および File ExchangeDates and Time についてさらに検索

質問済み:

2013 年 6 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by