How can I extract specific data?
1 次查看(过去 30 天)
显示 更早的评论
There are 7300*1 matrix of daily temperatures.
Would you please tell me how can I get summer temperatures (June to August)?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!