필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to calculate and represent the mean values of many distincts time series?

조회 수: 1 (최근 30일)
Massilon Toniolo da Silva
Massilon Toniolo da Silva 2017년 6월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi everybody, I am struggling to find the mean values of say 30 distinct time series representing the same phenomena. Is there a nice way to represent graphically the time series obtained from the mean values of the 30 distinct series? I would be very grateful for guidance. Kind regards, Massilon.
  댓글 수: 1
dpb
dpb 2017년 6월 15일
Think we need some more background here...mean over what, the 30 series at each time value, the mean of each series over time, what?
I really can't then decide what the graphical representation wanted sentence is referring to.

답변 (1개)

Peter Perkins
Peter Perkins 2017년 6월 20일
As dpb says, hard to guess. If you do mean, "the 30 series all have the same sample times, and I want to compute the mean of the 30 series at each sample time", and you are using R2016b or later, that sounds like you could use a timetable.
tt = array2timetable(yourDataAsColumns,'RowTimes',yourSampleTimes)
tt.MeanVal = mean(tt.Variables,2);
plot(tt.Time,tt.MeanVal)
Prior to R2016b, you could do essentially the same thing using an ordinary table.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by