필터 지우기
필터 지우기

Daily and monthly moving averages

조회 수: 6 (최근 30일)
Indrani
Indrani 2023년 11월 17일
답변: Star Strider 2023년 11월 17일
How can we calculate the daily, monthly moving average for a particular dataset?
Right now, I am calculating the weekly averages as
answer = movmean(dataset, 24*7);
Thanks!

답변 (1개)

Star Strider
Star Strider 2023년 11월 17일
Use a timetable rather than a dataset. Then use the retime function.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by