How can I perform multivariable polynomial curve fitting?

29 次查看(过去 30 天)
Hey!
I am looking to perform a polynomial curve fit on a set of data so that I get a multivariable polynomial.
I have successfully been able to fit a curve on 2 independent variables using curve fitiing tool. In my case, that was "efficiency as a function of flow rate and head."
I want to be able to perform a fit that gives me a function for something like, "efficiency as a function of flow rate, head and angle." Any ideas?
Thank you!
  2 个评论
Scott MacKenzie
Scott MacKenzie 2021-7-11
You can't use the curve fitting tool to build a model with >2 independent variables. But, see this ANSWER for an alternative approach (which I haven't tried but looks reasonably simple).

请先登录,再进行评论。

回答(1 个)

Matt J
Matt J 2021-7-11

类别

Help CenterFile Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by