Curve Fitting for Forced Damping

2 views (last 30 days)
Chinwe Orie
Chinwe Orie on 24 Mar 2019
Answered: Alex Sha on 28 Apr 2019
Hello,
I used the curve fitting app to fit this equation to some data:
F./(m*sqrt((w0^2-w.^2).^2 + (g^2)*w.^2))
The constants for the equation are F, m, g and w0. w is the independent variable.
My starting points for the data were F = 0.8491, g = 0.9340, m = 0.6787, and w0 = 125.
The method chosen is "NonlinearLeastSquares" and the algorithm chosen is "Levenberg-Marquardt".
However, the fit doesn't fit all that well. Here's a picture.
dampedeqcurvefitnotgood.jpg
Any tips on how to improve this fit? The R squared value for this fit is around 0.73.
My start points for this fit we
Thanks!

Answers (1)

Alex Sha
Alex Sha on 28 Apr 2019
Where are your data?

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!