I want to fit the following equation for my experimental data. I used the following code but it does not give the answer.
nlm = NonlinearModelFit[
data, {Convolve[
a*UnitStep[x - b]*c*Sqrt[x - b]*
Divide[Pi*Divide[Sqrt[d], Sqrt[x - b]]*
Exp[Pi*Divide[Sqrt[d], Sqrt[x - b]]],
Sinh[Pi*Divide[Sqrt[d], Sqrt[x - b]]]] +
a*d*Sum[Divide[4*Pi, n^3]*DiracDelta[x - b + d/n^2], {n, 1, 1}],
VoigtDistribution, x, y], b < Min[data[[All, 1]]],
b < Min[data[[All, 1]]]}, {{a, 10}, {b, -1}, c, d}, x];
nlm["BestFitParameters"]
Comments
Post a Comment