How can I remove holidays from a timetable

7 ビュー (過去 30 日間)
Antonio Melieni
Antonio Melieni 2019 年 4 月 24 日
コメント済み: Walter Roberson 2019 年 4 月 25 日
Hi,
How can I remove the holidays from a timetable?
Thx :)

回答 (1 件)

Walter Roberson
Walter Roberson 2019 年 4 月 24 日
  2 件のコメント
Antonio Melieni
Antonio Melieni 2019 年 4 月 24 日
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?
thx
Walter Roberson
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 ExchangeHolidays / Seasons についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by