Plot Excel Time Series,date without weekend and holidays in Matlab

조회 수: 2 (최근 30일)
Kristy Kwok
Kristy Kwok 2018년 4월 2일
답변: BhaTTa 2024년 10월 14일
Hi all, I was just wondering if there is a way to Plot Excel financial Time Series,date without weekend and holidays in Matlab? I had a look at other questions(Datenum etc) but none of them help with my situation.Please help!

답변 (1개)

BhaTTa
BhaTTa 2024년 10월 14일
Hey @Kristy Kwok, you can achieve the above functionality in MATLAB, Please follow the below steps
  1. Read the Data using 'readtable' or 'xlsread'
  2. Convert Dates into MATLAB 'datetime' format
  3. You can remove weekends by logical indexing for holidays you can have seperate holiday list that can be used to compare and remove holidays from our table
Hope it helps.

카테고리

Help CenterFile Exchange에서 Calendar에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by