|
From: | Dmitri A. Sergatskov |
Subject: | Re: Problem of polyfit |
Date: | Thu, 06 Oct 2005 22:05:04 -0600 |
User-agent: | Mozilla Thunderbird 1.0.6-1.4.1 (X11/20050721) |
Tetsuro KURITA wrote:
Following is an example which show that polyfit.m does not works well.
You would get a very good fit if you normalize your data x = (x-mean(x))/(max(x)-min(x)) and the same with y. Regards, Dmitri -- ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |