Filter löschen
Filter löschen

Daily and monthly moving averages

6 Ansichten (letzte 30 Tage)
Indrani
Indrani am 17 Nov. 2023
Beantwortet: Star Strider am 17 Nov. 2023
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!

Antworten (1)

Star Strider
Star Strider am 17 Nov. 2023
Use a timetable rather than a dataset. Then use the retime function.

Kategorien

Mehr zu Timetables finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by