octave-maintainers
[Top][All Lists]
Advanced

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

Re: Polyfit with scaling - Q regarding polyconf


From: Ben Abbott
Subject: Re: Polyfit with scaling - Q regarding polyconf
Date: Wed, 13 Feb 2008 21:04:06 -0500


On Feb 13, 2008, at 10:34 AM, Ben Abbott wrote:

The only thing that appears to agree with Matlab is the result from polyval() ... which doesn't surprise me since I'm not clear on what polyconf() is supposed to be doing ... I had thought one of its four modes of operation would be equivalent to polyval().

If you (anyone?) has insight into how the algorithm for polyconf() should be written, feel free to pick apart the one I posted.

Meanwhile, it does appear that we now have a polyfit() and polyval() which respect the scaling, and whether or not a solution for fixing the polyconf(), I'll rewrite polyval() to work independently of it.

I've attached my present copy of polyfit() and polyval(). They should be compatible with the Matlab versions.

For those interested, please give them a try.

Ben

Attachment: polyfit.m
Description: Binary data



Attachment: polyval.m
Description: Binary data





reply via email to

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