Calculating anomalies to create a map
7 views (last 30 days)
Show older comments
Hi all,
I have the zscores for the years with high precipitation and low precipitation I am trying to calculate the difference in precipitation between high years and low years. For each grid. The data set is for precipitation with the dimensions of x=141, y=71 and t=38. After that I will try to display on the map the significance by using a student test of means. My code for the first part of is the following but it not working as my expectation. Rain file contains the raw data, out contain the z-scores and mean rain contain rain average.
Thanks for your help
for x=1:141
for y=1:71
z(x,y)=rain(x,y)-MeanRain
end
end
2 Comments
Answers (0)
See Also
Categories
Find more on Test Execution 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!