Finding a function to best fit a curve

In summary, the speaker is looking for the best function to fit an upside down resonance curve that goes down slowly and then has a fast rise. They are also considering using a log scale for the ordinate and mention a video found through a Google search.
  • #1
kelly0303
580
33
Hello! I want to fit a function to the curve I attached (the first image shows the full curve, while the second one is a zoom-in in the final region). Please ignore the vertical lines, what I care about is the main, central curve. It basically goes down slowly and then it has a fast rise. What is the best function that I can try to use to fit this kind of curve? Thank you!
 

Attachments

  • Screen Shot 2019-11-29 at 04.06.25.png
    Screen Shot 2019-11-29 at 04.06.25.png
    15.3 KB · Views: 284
  • Screen Shot 2019-11-29 at 03.59.27.png
    Screen Shot 2019-11-29 at 03.59.27.png
    14.2 KB · Views: 266
Physics news on Phys.org
  • #2
What is it ?

Looks like an upside down resonance curve like

1575024971485.png
(from here)

Also: googling 'low-pass filter resonance curve' yields this nice video.

Perhaps you can try a log scale for the ordinate ?
 

FAQ: Finding a function to best fit a curve

What is a function?

A function is a mathematical relationship between two variables, where one variable (the independent variable) is related to the other variable (the dependent variable) through a set of rules or equations.

What is curve fitting?

Curve fitting is the process of finding a mathematical function that closely matches a set of data points. The goal is to find a function that can accurately predict the values of the dependent variable based on the values of the independent variable.

Why is finding a function to best fit a curve important?

Finding a function to best fit a curve is important because it allows us to understand and make predictions about the relationship between two variables. This can be useful in various fields such as statistics, physics, economics, and engineering.

What are some common methods used for curve fitting?

Some common methods used for curve fitting include linear regression, polynomial regression, exponential regression, and logarithmic regression. These methods involve finding the best fitting line or curve that minimizes the distance between the data points and the predicted values.

How do you determine the best function to fit a curve?

The best function to fit a curve is determined by comparing the fit of different functions using a measure of goodness of fit, such as the coefficient of determination (R-squared) or the root mean square error (RMSE). The function with the highest goodness of fit is considered the best fit for the curve.

Similar threads

Replies
1
Views
1K
Replies
8
Views
3K
Replies
4
Views
1K
Replies
6
Views
4K
Replies
9
Views
2K
Replies
1
Views
1K
Replies
1
Views
4K
Back
Top