I would like to know the equations for the Gaussian and the Lorentzian profiles (functions). I want to use them to plot the voigt profile for spectral lines in matlab. However I discovered that they look different (?) in different sources, so I am a little confused.

I have the centerline w, the intensity, i and the FWHM of each spectral line.