help-octave
[Top][All Lists]
Advanced

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

Re: Problem of polyfit


From: Paul Kienzle
Subject: Re: Problem of polyfit
Date: Fri, 7 Oct 2005 09:08:59 -0400


On Oct 7, 2005, at 1:53 AM, John W. Eaton wrote:

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.

I've made the change to wpolyfit.

- Paul



-------------------------------------------------------------
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]