Can anyone help me in curve fitting problem of Magic Formula?
1 view (last 30 days)
Show older comments
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
Answers (2)
Marco Furlan
on 11 Jul 2017
Edited: Marco Furlan
on 11 Jul 2017
Another approach can be to use lsqcurvefit
0 Comments
See Also
Categories
Find more on Interpolation 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!