wmean

Weighted Mean or Average
6,7K download
Aggiornato 26 mar 2007

Visualizza la licenza

For vectors, WMEAN(X,W) is the weighted mean value of the elements in X using non-negative weights W. For matrices, WMEAN(X,W) is a row vector containing the weighted mean value of each column. For N-D arrays, WMEAN(X,W) is the weighted mean value of the elements along the first non-singleton dimension of X.

Class support for inputs X and W:
float: double, single

Example:
x = rand(5,2);
w = rand(5,2);
wmean(x,w)

Cita come

Adam Auton (2026). wmean (https://it.mathworks.com/matlabcentral/fileexchange/14416-wmean), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14SP3
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Versione Pubblicato Note della release
1.0.0.0