weighted median

버전 1.0.0.0 (1.71 KB) 작성자: Sven Haase
Function for calculating the weighted median
다운로드 수: 3.6K
업데이트 날짜: 2009/2/23

라이선스 보기

For n numbers x_1,...,x_n with positive weights w_1,...,w_n,
(sum of all weights equal to one) the weighted median is defined as
the element x_k, such that:
--
) w_i <= 1/2
--
x_i < x_k
and
--
) w_i <= 1/2
--
x_i > x_k

Input: D ... matrix of observed values
W ... matrix of weights, W = ( w_ij )
Output: wMed ... weighted median

인용 양식

Sven Haase (2025). weighted median (https://kr.mathworks.com/matlabcentral/fileexchange/23077-weighted-median), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Single-Rate Filters에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0