Index months in timetable

4 ビュー (過去 30 日間)
Eric Escoto
Eric Escoto 2020 年 9 月 23 日
コメント済み: Adam Danz 2020 年 9 月 23 日
Is there a command to index months in a timetable series?
I would like to index one long term timetable in two ways. In one, all July, August, and September are indexed. In the second Novemeber through March are indexed.
My timetable is a daily series.

採用された回答

Adam Danz
Adam Danz 2020 年 9 月 23 日
編集済み: Adam Danz 2020 年 9 月 23 日
Logical index of rows that are in July,Aug,Sept.
idx = ismember(month(TT2_staLCA_WS.Time),[7,8,9]);
  4 件のコメント
Eric Escoto
Eric Escoto 2020 年 9 月 23 日
Ah of course. Perfect.
Thanks, Adam!
Adam Danz
Adam Danz 2020 年 9 月 23 日
Socially distant high-five!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by