append
timeseries 객체를 시간에 따라 결합
설명
ts = append(은 시간 차원을 따라 ts1,ts2,…,tsN)timeseries 객체 ts1, ts2 등을 결합하여 새로운 timeseries 객체를 생성합니다.
예제
두 개의 timeseries 객체를 만듭니다.
ts1 = timeseries(rand(5,1),[1 2 3 4 5],"Name","Series 1")
timeseries
Common Properties:
Name: 'Series 1'
Time: [5x1 double]
TimeInfo: [1x1 tsdata.timemetadata]
Data: [5x1 double]
DataInfo: [1x1 tsdata.datametadata]
More properties, Methods
ts2 = timeseries(rand(5,1),[6 7 8 9 10],"Name","Series 2")
timeseries
Common Properties:
Name: 'Series 2'
Time: [5x1 double]
TimeInfo: [1x1 tsdata.timemetadata]
Data: [5x1 double]
DataInfo: [1x1 tsdata.datametadata]
More properties, Methods
두 timeseries 객체를 시간에 따라 결합합니다. 출력 timeseries 객체는 두 입력에 이름이 있어도 이름을 갖지 않습니다.
ts = append(ts1,ts2)
timeseries
Common Properties:
Name: 'unnamed'
Time: [10x1 double]
TimeInfo: [1x1 tsdata.timemetadata]
Data: [10x1 double]
DataInfo: [1x1 tsdata.datametadata]
More properties, Methods
결과로 만들어진 시간 샘플을 표시합니다.
ts.Time
ans = 10×1
1
2
3
4
5
6
7
8
9
10
입력 인수
입력 timeseries로, 결합할 스칼라 timeseries 객체 목록으로 지정됩니다.
입력
timeseries의 마지막 시간 샘플은 목록에서 그 뒤에 오는timeseries의 처음 시간보다 빠르거나 같아야 합니다.각 입력
timeseries의 샘플 크기는 동일해야 합니다.
데이터형: timeseries
확장 기능
스레드 기반 환경
MATLAB®의 backgroundPool을 사용해 백그라운드에서 코드를 실행하거나 Parallel Computing Toolbox™의 ThreadPool을 사용해 코드 실행 속도를 높일 수 있습니다.
버전 내역
R2006a 이전에 개발됨
참고 항목
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)