|
From: | swagata Mukherjee |
Subject: | Re: Polyfit with three variable |
Date: | Sun, 20 Dec 2020 20:27:22 +0530 |
If you look at the help for polyfit:On Sun, Dec 20, 2020 at 8:16 AM swagata Mukherjee <swagata123456@gmail.com> wrote:Hi,The files are attached.Regards,SwagataOn Sun, Dec 20, 2020 at 5:57 PM Doug Stewart <doug.dastew@gmail.com> wrote:Show us what these values are.On Sun, Dec 20, 2020 at 7:13 AM swagata Mukherjee <swagata123456@gmail.com> wrote:Hi,I need help with linear regression with three variables.I was running the following code:N_Liner=1;
P_Liner=polyfit(G,Temp,I_PV,N_Liner)getting the following error "error: polyfit: N must be a non-negative integer".Is there any way out?Regards,Swagata
GTempI_PVhelp polyfitYou will see that your inputs to polyfit are wrong.you should give it the x and y values and the deg. of polynomial that you want.
[Prev in Thread] | Current Thread | [Next in Thread] |