[Top][All Lists]

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

Re: polyfit weirdness

From: Miquel Cabanas
Subject: Re: polyfit weirdness
Date: Fri, 14 Feb 2003 09:53:59 +0100
User-agent: Mutt/1.3.28i


On Thu, Feb 13, 2003 at 02:49:27PM -0800, Henry F. Mollet wrote:
> Your commands produced exactly what Miguel calculated a little
> differently. I'm using GNU Octave, version 2.1.35
> (powerpc-apple-darwin6.2). But please tell me if I'm fitting a
> polynomial of order 1 (= straight line) thru the data

yes, you are

> and that my intercept (-1.49) and slope (4.2-15) appear in the
> wrong order?

no, they are ok. Check the code in polyfit and you will see
that it uses flipupd () to reverse the order of the rows.


Miquel E Cabanas ------------------------------------------------------
SeRMN, Universitat Autonoma de Barcelona (address@hidden)

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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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