ean value.</p><p><a href="CDT_Contents.html">Back to Climate Data Tools Contents</a></p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Syntax</a></li><li><a href="#2">Description</a></li><li><a href="#3">Example 1: 1D array</a></li><li><a href="#6">Example 2: 2D matrix</a></li><li><a href="#12">Example 3: Area-weighted SST</a></li><li><a href="#17">Author Info</a></li></ul></div><h2 id="1">Syntax</h2><pre>M = wmean(A,weights)
M = wmean(...,'all')
M = wmean(...,'dim',dim)
M = wmean(...,'nanfl