Normalized histogram
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
Citation pour cette source
Martin V. (2026). Normalized histogram (https://fr.mathworks.com/matlabcentral/fileexchange/37456-normalized-histogram), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
