How to obtain regression polynomial equation with more than 2 independent variables with degree 5.
이전 댓글 표시
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
David Wilson
2020년 3월 31일
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
2020년 3월 31일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
