Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • $\begingroup$ Rather than Normal[fit], it may be more natural to use fit[x] inside the plot. Also, I am not sure that there should be a negative sign in -data[[1, 1]]: shouldn't that be just data[[1, 1]]? $\endgroup$ Commented Jun 2, 2020 at 15:33
  • $\begingroup$ @MarcoB Your are right Fit[x] look more natural here. For the Plot, I just specified the range explicitly but in this case it should be just data1[[1,1]] $\endgroup$ Commented Jun 2, 2020 at 16:11
  • $\begingroup$ @ UIrich Neumann I had tried adding frequency but the fit wasn't that good. Here I just want an analytical expression which fits the data regardless of the form. I would use these expression in the NIntegrate to calculate several integrals along the energy axis as shown here $\endgroup$ Commented Jun 2, 2020 at 16:23
  • $\begingroup$ @fred85 The fit with frequency in MarcoB 's and my answer is quite good I think. $\endgroup$ Commented Jun 2, 2020 at 17:35