[Pkg-octave-devel] Bug#348480: sample data

Thomas Weber thomas.weber.mail at gmail.com
Sat May 17 21:22:50 UTC 2008


On 23/05/06 17:12 +1000, Drew Parsons wrote:
> On Tue, 2006-05-23 at 08:45 +0200, Thomas Weber wrote:
> So any code to go upstream would want to use a renomalisation factor of,
> say r=(xmax-xmin) rather than "1000", in order to get the scaled x
> around 1.  The reconversion back to original x would presumeably go as
> P(k)->P(k)/(r^power ), though I haven't proven this.  Other alternatives
> would be a linear rescaling of x to between [-1,1] or perhaps [-10,10],
> though I guess that may not make so much of a difference to the polyfit
> comparing to just dividing by r. I'm sure sure, however, maybe it would
> be preferable.
> 
> Thanks for looking into it and taking the bug report seriously,

Upstream changed the polyfit algorithm in the 3.1 branch to a QR based
algorithm. Your sample is included as a test case, so once we come to
that version, this bug should be fixed. 

	Thomas





More information about the Pkg-octave-devel mailing list