MATLAB Answers


How can I remove holidays from a timetable

Asked by Antonio Melieni on 24 Apr 2019
Latest activity Commented on by Walter Roberson
on 25 Apr 2019
How can I remove the holidays from a timetable?
Thx :)


Sign in to comment.

1 Answer

Answer by Walter Roberson
on 24 Apr 2019


Can you maybe help me a bit more with that ismember function? what do i need to insert if I want to delete holidays from jan 2018 - jan 2019?
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 which lists over 90 bank holidays in India, broken down by state or province.

Sign in to comment.