wavg
Syntax
wavg(value, weight)
Details
Calculate the weighted average of X with the weight vector Y. Please note that the weight vector Y is automatically scaled such that the sum of the weights is 1.
Parameters
value is the value vector.
weight is the weight vector.
Returns
A numeric scalar.
