This function can be used for directly converting the full width at half maximum (FWHM) to the standard deviation of a peak.
s = FWHM./(2*sqrt(2*log(2)))
One input arguments: 'FWHM'
One output argument: 'sigma'
FWHM : Full width at half maximum
s : Standard deviation
Input syntax: sigma = fwhm2sigma(FWHM)
Joris Meurs (2021). Full Width at Half Maximum to Standard Deviation converter (https://www.mathworks.com/matlabcentral/fileexchange/60406-full-width-at-half-maximum-to-standard-deviation-converter), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!