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 CenterFile Exchange에서 Time Series Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by