What's the difference between a TimeTable and a timeseries?

조회 수: 29 (최근 30일)
Albert Passy
Albert Passy 2017년 11월 20일
댓글: Peter Perkins 2017년 11월 21일
R2017a. Title says it.

답변 (1개)

Albert Passy
Albert Passy 2017년 11월 20일
편집: Albert Passy 2017년 11월 20일
Ok - answered my own question. Timetables are a type of timeseries, but the data can be of hetrogeneous type. In a timeseries object, the data must be numeric.
  댓글 수: 1
Peter Perkins
Peter Perkins 2017년 11월 21일
Depending on what you mean, that may not be entirely correct. The terminology here is difficult with only one font to work in.
A timetable (the class) is not a timeseries (the class) in the "isa" sense of class hierarchies, although both types are intended for time series data. You are correct that a timeseries can contain only numeric data, and only one data array. A timetable can contain multiple variables (a.k.a. channels/signals/...) each of different types, and so is more like a tscollection ("time series collection") in that sense.
Also, the "arrayness" of a timeseries array ts is such that (since about R2010) ts(1) is one "time series", ts(2) is another, and so on. The "arrayness" of a timetable tt is such that tt is one "time series" and, for example, tt(rows,:) is a subset of that one "time series".
Really, a timetable is like a table whose rows are each tagged with a row time.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Time Series에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by