Finding the vertical offset of a gaussian fit
28 views (last 30 days)
I apologize for posting this question again, as I believe I miss presented my question earlier.
I have the following data points as shown in the picture, and I am in the quest to obtain the vertical offset (v0) for the best gaussian fit to my data point. Equation for gaussian fit: gaus = amp*exp(-(((x-mu).^2)/(2*sig.^2)))+ v0.
I currently have the datasets x and y and I am stuck at that, any help is appreciated and sorry for posting this again
Matt J on 28 Jul 2021
Edited: Matt J on 28 Jul 2021
This File Exchange routine does gaussian+constant fitting: