mathworks.com/products/matlab/">Published with MATLAB&reg; R2018b</a><br></p></div><!--
##### SOURCE BEGIN #####
%% |wmean| documentation 
% The |wmean| function computes the weighted average or weighted mean value.
% 
% <CDT_Contents.html Back to Climate Data Tools Contents>
%% Syntax
% 
%  M = wmean(A,weights)
%  M = wmean(...,'all')
%  M = wmean(...,'dim',dim)
%  M = wmean(...,'nanflag') 
% 
%% Description
% 
% |M = wmean(A,weights)| returns the weighted mean of the elements of |A| along the first
% arra