wmean

バージョン 1.0.0.0 (1.55 KB) 作成者: Adam Auton
Weighted Mean or Average
ダウンロード: 6.7K
更新 2007/3/26

ライセンスの表示

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)

引用

Adam Auton (2026). wmean (https://jp.mathworks.com/matlabcentral/fileexchange/14416-wmean), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R14SP3
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersTime Series についてさらに検索
バージョン 公開済み リリース ノート
1.0.0.0