MATLAB: How to calculate FWHM from a histogram

fwhmhistfit

Hi all,
I have a vector, from which I get a histogram. I can get the fit of this histogram using histfit, but I need to calculate the FWHM from this. Can anyone help me with that?
Many thanks, Michal

Best Answer

Use one of the distribution-fitting functions or the interactive tool dfittool instead to get the parameters of the result from which you can evaluate the pdf.
Related Question