Daily Returns to Biweekly Returns

3 views (last 30 days)
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

Accepted Answer

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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!