Daily Returns to Biweekly Returns

5 visualizzazioni (ultimi 30 giorni)
Gerrit Liedtke
Gerrit Liedtke il 15 Mag 2018
Risposto: Steven Lord il 15 Mag 2018
Hi,
I have a big data set with daily return data. I would like to make them to biweekly returns. So my idea was to create a for loop which aggregates 10 daily returns to 1 biweekly return.
I think it's pretty easy but I can't figure out how to do it.
Thanks for help

Risposta accettata

Steven Lord
Steven Lord il 15 Mag 2018
If you're storing your data in a timetable array, use the retime function.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by