Normalized histogram

Versión 1.0.0.0 (1,37 KB) por Martin V.
The function make normalized histogram, i.e. the estimation of the probability density function.
1K Descargas
Actualizado 11 jul 2012

Ver licencia

The function make normalized histogram, i.e. the estimation of the probability density function. The area of the histogram is equal one, as the area bellow the theoretical PDF function. You can use the output of this script for the comparison of the empirical data with the theoretical PDF for the certain distribution.

INPUTs:
data - empirical data
bins - number of the histogram bins
view (optional) - 1 = plot the histogram to the figure, 0 = get only values (0 is default)

OUTPUTs:
h - the normalized "height" of the histogram bars
x - centers of bins

Citar como

Martin V. (2026). Normalized histogram (https://es.mathworks.com/matlabcentral/fileexchange/37456-normalized-histogram), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2010b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Histograms en Help Center y MATLAB Answers.
Versión Publicado Notas de la versión
1.0.0.0