How can I use curve fitting tool as function?
1 view (last 30 days)
Show older comments
Riyadh Muttaleb
on 5 Apr 2019
Commented: Riyadh Muttaleb
on 5 Apr 2019
Hi everyone,
I want to use Curve fitting tool as in the picture below as Matalb function.Which is function I have to use in the my code to get same result.
Thanks in advance,
Riyadh
0 Comments
Accepted Answer
More Answers (1)
Walter Roberson
on 5 Apr 2019
results = fit([x2e(:), x1e(:)], ye(:), 'poly11');
coeffs(results)
2 Comments
Walter Roberson
on 5 Apr 2019
results = fit([x2e(:), x1e(:)], ye(:), 'poly11', 'Robust', 'LAR');
coeffs(results)
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!