Name

freqts — returns the frequency of a ts

CALLING SEQUENCE

f=freqts(ts)

PARAMETERS

Input

• ts = a time series

Output

• f = the frequency of the timeseries

DESCRIPTION

Returns the frequency of a time series. This one line function is equivalent to the instruction: ts('freq').

AUTHOR

Eric Dubois 2002