How do I split a time series?
조회 수: 18 (최근 30일)
이전 댓글 표시
My time series contains the data from three different tasks. I would now like to split my time series in order to have a time series for each task. Unfortunately I have no idea where to start.
댓글 수: 2
William Chamberlain
2018년 2월 25일
For anyone else coming here from Google; copying data from a specific period in one timeseries into a new timeseries can be done with the getsampleusingtime function.
답변 (1개)
Peter Kövesdi
2020년 1월 13일
Another option is:
plot(getsamples(timeseries,ind))
where ind is the index of the samples you want.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Time Series에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!