How can I remove holidays from a timetable
3 次查看(过去 30 天)
显示 更早的评论
Hi,
How can I remove the holidays from a timetable?
Thx :)
0 个评论
回答(1 个)
Walter Roberson
2019-4-24
2 个评论
Walter Roberson
2019-4-25
Look at the second bit of code, the one showing ismember() and ending with listOfHolidays . You would create the listOfHolidays as a datetime vector with all of the holiday dates in the range you are interested in.
The list of holidays is pretty regional. See for example https://www.paisabazaar.com/savings-account/india-bank-holidays-2018/ which lists over 90 bank holidays in India, broken down by state or province.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Holidays / Seasons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!