Creating a monthly average from a matrix
古いコメントを表示
My data, which has 30 years of monthly data, over a 2 degree grid of the globe:
>> whos KoppenA_prate
Name Size Bytes Class Attributes
KoppenA_prate 90x180x360 23328000 single
Not every pixel has data, just the pixels that fit into Koppen classification A
>> sum(A(:))
ans =
559
My question: Any ideas on how I could write a loop to create an average monthly value over the 30 years?
Thanks a bunch!
5 件のコメント
Azzi Abdelmalek
2013 年 8 月 20 日
編集済み: Azzi Abdelmalek
2013 年 8 月 20 日
This is not clear for me. What are your data? and what do you want?
Image Analyst
2013 年 8 月 21 日
What does each of the 3 dimensions represent? Is any one of the dimensions the time point? If so, are the time points all one month apart? Or, are they days of the year, so that one month might have 30 data points sometimes, and 31 points at other times?
Kate
2013 年 8 月 21 日
Kate
2013 年 8 月 21 日
Kate
2013 年 8 月 21 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Repeated Measures and MANOVA についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!