Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
28
Добавлен:
09.02.2015
Размер:
200.19 Кб
Скачать

Is a valid datestr format, the output strings from getAbsTime have the same format.

Example:

Create a tscollection object:

tsc=tscollection(timeseries(rand(5,1)))

Set the StartDate property:

tsc.TimeInfo.StartDate='10/27/1974 07:05:36'

Extract a vector of absolute time values:

getabstime(tsc)

See also timeseries/setabstime, timeseries/timeseries

Reference page in Help browser

doc tscollection/getabstime

<tscollection/setabstime> - Set time of a collection using date strings.

SETABSTIME Set date strings as the times of a tscollection object.

TSC = SETABSTIME(TSC, TIMES) sets the times in TSC using the date strings TIMES. TIMES must be either a cell array of strings, or a char array,

containing valid date or time values in the same date format. See

DATESTR for help on date string formats.

TSC = SETABSTIME(TSC, TIMES, FORMAT) specifies FORMAT used in TIMES explicitly.

Example:

Create a tscollection object:

tsc = tscollection(timeseries(rand(3,1)))

Set the absolute time vector:

tsc = setabstime(tsc,{'12-DEC-2047 12:34:56','12-DEC-2047 13:34:56','12-DEC-2047 14:34:56'})

See also tscollection/getabstime, tscollection/tscollection

Reference page in Help browser

doc tscollection/setabstime

<tscollection/gettimeseriesnames> - Cell array of names of time series in tscollection.

GETTIMESERIESNAMES Return a cell array of names of time series in tscollection.

Reference page in Help browser

doc tscollection/gettimeseriesnames

<tscollection/settimeseriesnames> - Change the name of a time series member of a collection.

SETTIMESERIESNAMES Change the name of the selected time series object.

TSC = SETTIMESERIESNAMES(TSC,OLD,NEW) replaces the name of time series OLD with name NEW in the tscollection object TSC.

Reference page in Help browser

doc tscollection/settimeseriesnames

Graphical visualization and analysis

<tstool> - Open the Time Series Tools GUI.

TSTOOL Opens the Time Series Tools GUI.

V = TSTOOL returns the handle to the tsviewer.

V = TSTOOL(OBJ) imports the object OBJ into the GUI. OBJ may be a

timeseries, tscollection, TsArray or a Simulink Data Logs object, such as

a ModelDataLogs object created by a Simulink model, when data logging is

enabled.

REPLACE option for logged Simulink signals:

V = TSTOOL(OBJ,'replace') replaces the object OBJ in Time Series Tools,

if it already exists in the GUI. This syntax is supported only for

ModelDataLogs objects. For other objects, 'replace' option is ignored.

Reference page in Help browser

doc tstool

Соседние файлы в папке Библиотеки Matlab