[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

regress vs polyfit

From: Thomas Grzybowski
Subject: regress vs polyfit
Date: Mon, 20 Jun 2011 07:45:34 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110303 Thunderbird/3.1.9


I am new to octave and want to fit a single regression line to some data. I have been using polyfit, and was looking at regress, but I find regress confusing. From the regress "Help":

* `X' is a matrix of regressors, with the first column filled with the constant value 1

I do not understand the help instructions. My data is simply x,y pairs - what is this help about - "the constant value 1" ?

Thomas Grzybowski

reply via email to

[Prev in Thread] Current Thread [Next in Thread]