How to find gap within date vector?

2 ビュー (過去 30 日間)
MC3105
MC3105 2014 年 10 月 15 日
回答済み: Star Strider 2014 年 10 月 15 日
Hello everyone!
I have a date vector that holds dates (year, month, day, hour) in matlab format (7.3377e+05....). Now these dates seem to have a few gaps. So somewhere within this vector there must be little jumps that cover a few hours or days. And I have to find these gaps so that I can fill them.
Does anybody have an idea how I could find these gaps?
Thanks a lot!! Your help is greatly appreciated!!!

採用された回答

Star Strider
Star Strider 2014 年 10 月 15 日
You can find them with the diff and find functions.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTime Series Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by