0
votes
0answers
7 views

Fitting Error function?

I need to fit a function of the form $$y=A+B\space \text{erf}\left(\frac{\sqrt2(x-a_0)}{w}\right),$$ where $$ \text{erf}(x)=\frac{2}{\sqrt\pi}\int_0^x e^{-t^2} ...