X = tseries()
X = tseries(Dates,Values)
X = tseries(Dates,Values,Comment)
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.
X
[ tseries ] - New tseries object.