Polyfit with scaling - Q regarding polyconf

Ben Abbott bpabbott at mac.com
Wed Feb 13 20:04:06 CST 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: polyfit.m
Type: application/octet-stream
Size: 4962 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080213/4f3a730d/attachment-0002.obj 
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: polyval.m
Type: application/octet-stream
Size: 4484 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080213/4f3a730d/attachment-0003.obj 
-------------- next part --------------





More information about the Octave-maintainers mailing list