I have a timetable z with more than 10 000 rows, this timetable should have a resolution of 15 minutes, but there are gaps of for example 30,45 minutes, 1, 5, 8 hours, or even days. So I would like to fill the missing data using retime but only for the gaps lower or equal to a specific gap (for example 1 hour). How can I do that? I have search for ways of doing that, but have found no hint. I am using this line, but it fills all the gaps.
retime(z,'regular','linear','TimeStep',minutes(15))
Any help would be very much appreciatted.
1 Comment
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/476106-retime-only-for-specific-gaps-on-time#comment_735115
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/476106-retime-only-for-specific-gaps-on-time#comment_735115
Sign in to comment.