필터 지우기
필터 지우기

How can I get precipitation data only for summer (June~August for 30 years)?

조회 수: 3 (최근 30일)
I have a daily precipitation data for 30 years. Then how can I get precipitation only for summer (June~August for 30 years)?

채택된 답변

Walter Roberson
Walter Roberson 2022년 9월 2일
but instead of == 6 you would ismember() against the month numbers you want.
dbp's solution there already includes month number in the data and asks to group by month, whereas my solution there would need a small enhancement to group by month, as it assumes exactly one month in its present form.
  댓글 수: 3
Chris
Chris 2022년 9월 6일
Would you tell me how can I do that?
Walter Roberson
Walter Roberson 2022년 9월 6일
ismember(t.Month, {'June', 'July', 'August'})
include September if appropriate for your area (where I live, September might be technically summer, but it would be common for there to be a frost by the end.)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by