Date: Feb 17, 2013 8:16 PM
Author: Jan-Erik
Subject: How to calculate weighted mean in Matlab

I have a 180-by-360 matrix of (surface temperature) values and I want to calculate a weighted average of all values given in this matrix. However, I need to weight these values with respect to latitude. Is there a way to calculate a weighted mean in Matlab? Please help me.

Thanks in advance for any help!

- Jan-Erik