How can I use curve fitting tool as function?
    5 次查看(过去 30 天)
  
       显示 更早的评论
    
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 个评论
采纳的回答
更多回答(1 个)
  Walter Roberson
      
      
 2019-4-5
        results = fit([x2e(:), x1e(:)], ye(:), 'poly11');
coeffs(results)
2 个评论
  Walter Roberson
      
      
 2019-4-5
				results = fit([x2e(:), x1e(:)], ye(:), 'poly11', 'Robust', 'LAR');
coeffs(results)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

