help-octave
[Top][All Lists]
Advanced

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

Re: Problem of polyfit


From: Tetsuro KURITA
Subject: Re: Problem of polyfit
Date: Fri, 7 Oct 2005 16:34:38 +0900

On 2005/10/07, at 13:05, Dmitri A. Sergatskov wrote:

You would get a very good fit if you normalize your data

Thanks.
It seems that my opinion was wrong.
I feel embarrassed about making much ado.

Why normailing data is requred.

But there was a person who meets same trouble to mine.

http://www.octave.org/octave-lists/archive/help-octave.1999/ msg01007.html http://www.octave.org/octave-lists/archive/help-octave.1999/ msg01008.html

I hope polyfit will be improved for less hustle.

Also following two equations do not return same results, when calculating data I posted.

  p = inv(X'*X)*(X'*y);

  p = (X'*X)\(X'*y);

In the case of data I posted, first equation give better results. It looks that the operator "\" have a certain limitation. What is that ?

=======================================================
 Tetsuro KURITA
  E-mail: address@hidden
=======================================================



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