Home > atmlab > math > fwhm2si.m

fwhm2si

PURPOSE ^

FWHM2SI Converts FWHM to standard deviation

SYNOPSIS ^

function si = fwhm2si(w)

DESCRIPTION ^

 FWHM2SI   Converts FWHM to standard deviation

    The standard deviation of a normal distribution is calculated,
    calculated, based on its full width at half maximum (FWHM) .

 FORMAT   si = fwhm2si(w)
        
 OUT   si   Standard deviation.
 IN    w    Full width at half maximum.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

fwhm2si.m

SOURCE CODE ^

0001 % FWHM2SI   Converts FWHM to standard deviation
0002 %
0003 %    The standard deviation of a normal distribution is calculated,
0004 %    calculated, based on its full width at half maximum (FWHM) .
0005 %
0006 % FORMAT   si = fwhm2si(w)
0007 %
0008 % OUT   si   Standard deviation.
0009 % IN    w    Full width at half maximum.
0010 
0011 % 2007-11-29   Created by Patrick Eriksson.
0012 
0013 
0014 function si = fwhm2si(w)
0015   
0016 si = w ./ (2*sqrt(2*log(2)));
0017

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005