How can I remove holidays from a timetable
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
How can I remove the holidays from a timetable?
Thx :)
0 comentarios
Respuestas (1)
Walter Roberson
el 24 de Abr. de 2019
2 comentarios
Walter Roberson
el 25 de Abr. de 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 https://www.paisabazaar.com/savings-account/india-bank-holidays-2018/ which lists over 90 bank holidays in India, broken down by state or province.
Ver también
Categorías
Más información sobre Holidays / Seasons en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!