How to find gap within date vector?

2 visualizzazioni (ultimi 30 giorni)
MC3105
MC3105 il 15 Ott 2014
Risposto: Star Strider il 15 Ott 2014
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!!!

Risposta accettata

Star Strider
Star Strider il 15 Ott 2014
You can find them with the diff and find functions.

Più risposte (0)

Categorie

Scopri di più su Time Series Objects in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by