Daily and monthly moving averages

4 visualizaciones (últimos 30 días)
Indrani
Indrani el 17 de Nov. de 2023
Respondida: Star Strider el 17 de Nov. de 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!

Respuestas (1)

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

Categorías

Más información sobre Data Preprocessing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by