MATLAB Answers


Improving fit for TireDataAnalysis.mlx Live Editor?

Asked by Gage Smith on 12 Feb 2019
Latest activity Commented on by Veer Alakshendra on 17 Feb 2019
How would I go about improving the accuracy and fit of the magic formula fit for the TireDataAnalysis.mlx Live Editor? I think it is generating the correct fits but they are slightly off of the raw data points and I was wondering if there was a way I might be able to improve the accuracy of the fit?


Sign in to comment.




1 Answer

Answer by Veer Alakshendra on 13 Feb 2019

Hi Gage,
Thanks for reaching out.
In the MATLAB Live Editor file, we have taken some assumptions into consideration. So, if you are looking for perfect fit you can try the following things:
  • Include coefficient C in the magic formula instead of assuming it to be equal to 1/B
  • You can also try with exact value of D
  • Try few more simulations with different initial conditions
Let us know how does it work.


Where do I get the coefficient of C from in the script?
Hi Gage,
You can find the coefficient C in the magic formula.The formula is defined in the file, "MagicFormula.m". You can open the function in MATLAB and replace 1/B by C. Further, you can try running the model by changing the value of C.

Sign in to comment.