gettsafterevent
Create timeseries after event
Description
tsout = gettsafterevent(
                returns a tsin,tsevent)timeseries object with samples occurring after the
                event tsevent in the input timeseries
                tsin. The argument tsevent can be either a
                    tsdata.event object or a character vector containing the name
                of the event. When tsevent is a tsdata.event
                object, the time defined by tsevent specifies the time. When
                    tsevent is a character vector, the first
                    tsdata.event object in the Events
                property of tsin that matches the event name specifies the
                time.
Examples
Input Arguments
Tips
- When the input - timeseriesobject- tsincontains date character vectors and- tseventuses numeric time, the time selected by- tseventis treated as a date that is calculated relative to the- StartDateproperty in- tsin.TimeInfo.
- When - tsinuses numeric time and- tseventuses calendar dates, the time selected by- tseventis treated as a numeric value that is not associated with a calendar date.
Version History
Introduced before R2006a
See Also
gettsafteratevent | gettsbeforeevent | gettsbetweenevents | timeseries | tsdata.event