Curve Fitting for Forced Damping

1 次查看(过去 30 天)
Chinwe Orie
Chinwe Orie 2019-3-24
回答: Alex Sha 2019-4-28
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!

回答(1 个)

Alex Sha
Alex Sha 2019-4-28
Where are your data?

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by