How to extract the specific rows from the table?
조회 수: 5 (최근 30일)
이전 댓글 표시
There are total of 30 years precipitation data (Januaray to December).
There are only one column with January to December.
How can I extract or select June to August of 30 years?
댓글 수: 1
Walter Roberson
2022년 9월 6일
We already pointed you to https://www.mathworks.com/matlabcentral/answers/1793805-how-can-i-get-precipitation-data-only-for-summer-june-august-for-30-years?s_tid=srchtitle
If you need to, adjust there is ismember() the month column against the appropriate representation of the months you are interested in.
ismember(t.Month,{'June','July'})
for example.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!