IRIS Toolbox Reference Manual

## tseries

Create new time series (tseries) object

#### Syntax

    X = tseries()
    X = tseries(Dates,Values)
    X = tseries(Dates,Values,Comment)

#### Input arguments

- `Dates` [ numeric ] - Dates for which observations will be supplied; `dates` do not have to be sorted in ascending order. If `dates` is scalar and `values` have multiple rows, then the date in `dates` is interpreted as a startdate for the time series.

- `Values` [ numeric | function_handle ] - Numerical values (observations) arranged columnwise, or a function that will be used to create an N-by-1 array of values, where N is the number of `dates`.

- `Comment` [ char | cellstr ] - Comment or comments attached to each column of observations.

#### Output arguments

- `X` [ tseries ] - New tseries object.

#### Description

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.