Plot Excel Time Series,date without weekend and holidays in Matlab
Show older comments
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!
Answers (1)
BhaTTa
on 14 Oct 2024
0 votes
- Read the Data using 'readtable' or 'xlsread'
- Convert Dates into MATLAB 'datetime' format
- 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.
Categories
Find more on Calendar in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!