tsOut = gettsafteratevent(ts, eventName)
| Parameter | Description |
|---|---|
| ts | Input timeseries object. |
| eventName | Name of an event in ts.Events. |
| Parameter | Description |
|---|---|
| tsOut | Output timeseries object containing the selected samples. |
gettsafteratevent Finds the named event and keeps samples whose time is greater than or equal to the event time.
ts = timeseries([1; 2; 3], [10; 11; 12]);
ts = addevent(ts, tsdata.event('middle', 11));
gettsafteratevent(ts, 'middle').Data
| Version | Description |
|---|---|
| 2.0.0 | initial version |