How to obtain regression polynomial equation with more than 2 independent variables with degree 5.
Show older comments
How to obtain regression polynomial equation with more than 2 independent variables with degree 5, because curve fitting tool in MATLAB only support 2 independent variables.
I want the equation with 3 independent variable with coefficient provided, also plot the graph.
Anyone can help me ? Thank you in advance.
2 Comments
David Wilson
on 31 Mar 2020
Write out the Vandermonde matrix columns by hand, (you'll have quite a lot of them if using quintics), and then use backslash to get the polynomial coefficients.
Beh Poi Keat
on 31 Mar 2020
Accepted Answer
More Answers (0)
Categories
Find more on Numerical Integration and Differentiation 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!