Grocer Function

NAME

vec2ts - vector to timeseries

CALLING SEQUENCE

[tsout]=vec2ts(vector,boun)

PARAMETERS

Input

Output

DESCRIPTION

Transforms into a timeseries a vector according to given bounds.

EXAMPLE

t=vec2ts([1:24 28:32],['1a' ; '24a' ; '28a' ; '32a'])

This example creates a ts which is a time trend from 1a to 32a, with three nan values between 25a and 27a.

AUTHOR

Eric Dubois 2003