Polyfit with three variable

swagata Mukherjee <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAM7LAkTHTwyvAHZOqxvMpvMFoTJoTD81TP4avmuWbgQEKGPmXA@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.