Engineering Plotting a Guassian FWHM = 1 ns

AI Thread Summary
The discussion focuses on plotting a Gaussian distribution with a full width at half maximum (FWHM) of 1 ns using MATLAB. The initial confusion revolves around the correct selection of sigma, with a proposed value of 0.1 ns leading to a calculated FWHM of approximately 2.7 ns. The derived formula for FWHM is provided, indicating that FWHM can be expressed in terms of sigma. It is clarified that moving sigma in the equation affects the calculation, and the correct sigma for achieving an FWHM of 1 ns is approximately 4.2466e-10. The conversation emphasizes the importance of accurately determining sigma to achieve the desired FWHM in Gaussian plots.
Tone L
Messages
72
Reaction score
7
Homework Statement
Graph a guassian pulse when the FWHM is approximately 1 ns
Relevant Equations
$$V(t) = \frac{1}{\sqrt{2\pi}\sigma}e^{\frac{-t^2}{2\sigma^2}}$$
Simply plugging this into software like MATLAB will present a solid guassian distrubution. However, my doubt comes from selecting the correct sigma.

t = - 10 ns to + 10 ns
##\sigma## = 0.1 ns

This produces a plot like so,
1638757460650.png
 
Last edited:
Physics news on Phys.org
Am I right in thinking the graphed function has a FWHM of about 2.7 ns ?
 
Baluncore said:
Am I right in thinking the graphed function has a FWHM of about 2.7 ns ?
Yes, I was just trying to supply an example guassian. The derived formula for FWHM is as follows, which you can solve for ##\sigma##.
$$FWHM = 2\sqrt{2ln(2)}\sigma$$
 
Maybe you are including sigma in the square root of one or both equations.
Move sigma from the tail to the head.
FWHM = sigma * 2 * Sqr( 2 * Log( 2 ) )
V(t) = Exp( -0.5 * ( t / sigma)^2 ) / ( sigma * Sqr( 2 * Pi ) )
FWHM = 1 nsec
sigma = 4.2466e-10
t= -0.5 ns; v = 469718639.350
t = 0; max v = 939437278.700
t= +0.5 ns; v = 469718639.350
 
Last edited:
Back
Top