How can I extract specific data?
    5 views (last 30 days)
  
       Show older comments
    
There are 7300*1 matrix of daily temperatures.
Would you please tell me how can I get summer temperatures (June to August)?
0 Comments
Accepted Answer
  Walter Roberson
      
      
 on 6 Sep 2022
        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 Comments
More Answers (0)
See Also
Categories
				Find more on Logical in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
