Robuta

https://la.mathworks.com/help/matlab/ref/timeseries.gettsafteratevent.html gettsafteratevent - Create timeseries at or after event - MATLAB This MATLAB function returns a timeseries object with samples occurring at and after the event tsevent in the input timeseries tsin. after eventcreatetimeseriesmatlab