I'm completely new to Mathematica and stuck on how to go about trying to fit a Gaussian function to my data. Pretty clueless and nothing I've tried has worked.
Can anyone help?
I've imported the data and plotted it, but not sure what to do next...
G' = Import["GP S3 F2 G' LX.txt", "Table"]
ListLinePlot[Derivative[1][G], PlotTheme -> "Scientific", PlotRange -> {{2620, 2730}, {0, 2750}}]
FindDistributionParameters
$\endgroup$a + b Exp[(x-c)^2/d]
) rather than fitting a probability distribution from a random sample. $\endgroup$Normal@NonlinearModelFit[G', a+ b*Exp[ (x-c)^2/d], {a, b, c, d}, {x, y}]
. You will get the fitting equation. A better reply could be provided if you give us access to the dataG'
$\endgroup${{a, 100}, {b, 2500}, {c, 2675}, {d, -400}}
. $\endgroup$