How can I perform multivariable polynomial curve fitting?
Ältere Kommentare anzeigen
Hey Community! 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 variable on an independent set using polyfit(). In my case, that was "voltage as a function of current." I want to be able to perform a fit that gives me a function for something like, "voltage as a function of current and temperature." Any ideas?
Cheers!
1 Kommentar
Abdullah Danyal Saeed
am 24 Nov. 2016
Hi you can use mvregress for the above mentioned task.
Akzeptierte Antwort
Weitere Antworten (2)
cr
am 15 Mai 2013
0 Stimmen
I dont think basic Matlab has got that ability. You will need curve fitting toolbox to do surface fitting. See this link: http://www.mathworks.in/help/curvefit/surface-fitting.html
Regards.
1 Kommentar
Mitchell
am 15 Mai 2013
David Graff
am 27 Apr. 2015
0 Stimmen
Use the excellent polyfitn package at http://www.mathworks.com/matlabcentral/fileexchange/34765-polyfitn . I love it and use it all the time.
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!