|
|
| File Information |
| Description |
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) |
| Acknowledgements |
This submission has inspired the following:
Weighted Data Binning [wbin]
|
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 27 Mar 2007 |
John D'Errico
|
|
|
| 11 May 2007 |
A B
|
|
|
|
Contact us at files@mathworks.com