getEntropy(x,Bins)

버전 1.0.0.0 (1.17 KB) 작성자: Ruggero G. Bettinardi
Compute entropy of vector 'x'
다운로드 수: 65
업데이트 날짜: 2017/5/16

라이선스 보기

call:

H = getEntropy(x,Bins)


Computes the entropy of the vector 'x'. Entropy is computed after
having computed the histogram of the vector, using the binning
defined by 'Bins'.
if Bins is not specified, the function use the default binning as:
Bins = linspace(min(x),max(x),sqrt(numel(x))).

INPUT

x : original vector (NOT a distribution !!!)
Bins : Binning to use to compute the histogram (optional)


OUTPUT

H : Entropy of x (a scalar)

인용 양식

Ruggero G. Bettinardi (2024). getEntropy(x,Bins) (https://www.mathworks.com/matlabcentral/fileexchange/62979-getentropy-x-bins), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Histograms에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

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