How can I perform multivariable polynomial curve fitting?

16 visualizaciones (últimos 30 días)
Karen Hejazi
Karen Hejazi el 11 de Jul. de 2021
Respondida: Matt J el 11 de Jul. de 2021
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 comentarios
Karen Hejazi
Karen Hejazi el 11 de Jul. de 2021
i mean that now i have 3 independent variables.
Scott MacKenzie
Scott MacKenzie el 11 de Jul. de 2021
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).

Iniciar sesión para comentar.

Respuestas (1)

Matt J
Matt J el 11 de Jul. de 2021

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by