Daily and monthly moving averages

4 vues (au cours des 30 derniers jours)
Indrani
Indrani le 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!

Réponses (1)

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

Catégories

En savoir plus sur Data Preprocessing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by