How can I solve fit inverse trigonometric function to a set of data points?
Show older comments
Hi all, I have to find the equation using magic formula to model a friction damper to be used in ADAMS software for dynamic simulation.
Y=D*sin[C*arctan{(1-E)*B*X+E*arctan(B*X)}]
I am trying to solve the Magic Formula (tire simulation) for the variables B, C, D and E in the above equation.I have the damper characteristic curve from which I extracted data points. Now I have to fit a curve equation that would fit the behavior it.

If it is possible to fit any other equation (polynomial or trigonometric), would be helpful. Can I fit a spline and extract the equation in this case?
4 Comments
Star Strider
on 15 Sep 2014
How do B,C,D, and E in the equation relate to B,C,D, and E in the plot? Are they scalar parameters, (x,y) coordinate pairs, or something else?
John D'Errico
on 15 Sep 2014
I was wondering that myself. There is no A in the formula as written, so I was guessing that they were not related to the parameters of the function. It is good to use distinct variable names so as not to confuse things.
As I point out in my answer, I think when someone cannot write a clear explanation of a problem, it is because they have not really understood the problem itself enough to be able to solve it.
Star Strider
on 15 Sep 2014
This also came up a couple years ago from a different person (I Answered it), and Prathap brought it to my attention in a Comment to it today. The OP then didn’t reply to a similar request for clarification, so we’re left wondering.
I agree. If someone can write a clear explanation of a problem, the only glitches are likely problems understanding how to code it correctly. That reduces to learning the subtleties of MATLAB syntax, the real purpose of this forum.
Prathap
on 16 Sep 2014
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!