Thank you very much sir, if i have 3 variables as inputs and 1 variable as a target ,how can i get the coffecients for polonomial eqation using power n=2
The polyfit function is designed for typical y = f(x) type functions. For your situation, I would suggest looking into the MATLAB function "lsqcurvefit" which can handle multiple inputs as well as nonlinear functions
Thank you very much
sir, if i have 3 variables as inputs and 1 variable as a target ,how can i get the coffecients for polonomial eqation using power n=2
The polyfit function is designed for typical y = f(x) type functions. For your situation, I would suggest looking into the MATLAB function "lsqcurvefit" which can handle multiple inputs as well as nonlinear functions
Just come to hit a like XD