Normalized histogram

버전 1.1.0.0 (1.66 KB) 작성자: Arturo Serrano
Same as histogram, but the area sum is 1.
다운로드 수: 14.3K
업데이트 2013/3/22

라이선스 보기

HISTNORM Histogram normalized
[...] = HISTNORM(...) works like HIST, but the frequency is normalized so that area sum is 1.

Bonus usage!
[...] = HISTNORM(..., 'plot') plots and returns the output arguments. Be sure 'plot' is the last argument.

Example:
data = randn(1)+randn(1)*randn (10000, 1);
[xo,no] = histnorm(data, 101, 'plot');
hold on
plot (no, normpdf(no, mean(data), std(data)), 'r');
hold off

See also: HIST.

Copyright 2009 DWTFYW.

인용 양식

Arturo Serrano (2026). Normalized histogram (https://kr.mathworks.com/matlabcentral/fileexchange/22802-normalized-histogram), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Histograms에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.1.0.0

Updated the example.

1.0.0.0