Select data with same dates

Hi, after downloading two financial indexes from yahoo finance, I found out that the number of their observations were different (due to open markets day and different bank holydays). So, I'd like to open it in Matlab and then create a new matrix with only data with same dates. How can I do? Thanks

답변 (1개)

Peter Perkins
Peter Perkins 2017년 3월 10일

0 개 추천

Hard to say exactly what you need to do, but if you have R2016b or later, take a look at retime and in particular the synchronize method.

카테고리

도움말 센터File Exchange에서 Calendar에 대해 자세히 알아보기

질문:

2017년 3월 10일

답변:

2017년 3월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by