Can anyone help me in curve fitting problem of Magic Formula?

1 view (last 30 days)
I have a set of 25 values of x and y and this predefined equation. I have to fit the values in this and find the coefficients
f (x)= D.sin[C tg-1{(1- E).B.x + E.tg-1(B.x)}]              tg-1 = inverse tg function
I have to write a MATLAB algorithm to find the optimum fit for the data shown above and find the parameters B, C, D, and E. I even have to plot the curve
  6 Comments
Torsten
Torsten on 21 Mar 2017
https://en.wikipedia.org/wiki/Hans_B._Pacejka
Best wishes
Torsten.

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 21 Mar 2017
I suggest that you use cftool to create a custom model

Marco Furlan
Marco Furlan on 11 Jul 2017
Edited: Marco Furlan on 11 Jul 2017
Another approach can be to use lsqcurvefit

Community Treasure Hunt

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

Start Hunting!