help-octave
[Top][All Lists]
Advanced

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

Re: Problem of polyfit


From: John W. Eaton
Subject: Re: Problem of polyfit
Date: Fri, 7 Oct 2005 01:53:41 -0400

On  6-Oct-2005, Dmitri A. Sergatskov wrote:

| On 10/6/05, Paul Kienzle <address@hidden> wrote:
| 
| > wpolyfit does the same with weighting on y, except that it uses QR
| > decomposition to solve X \ y.
| >
| 
| BTW, I just noticed that polifit returns p as 1xn vector and wpolifit
| as nx1.
| I do not know which one is "right", but I think it should be consistent.

For compatibility, I think polyfit should always return a row vector.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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