From help-octave-request at bevo dot che dot wisc dot edu Fri Oct 16 04:06:34 1998 Subject: Automatic polynomial approximation From: Daniel Tourde To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 16 Oct 1998 11:05:39 +0200 Hello, I have a question concerning a polynomial approximation of a function within a given interval. I use the function polyfit to approximate a function by a polynom. To take the best approximation, I plot the function and it's approximation. If the approximation is not good enough, I simply change BY HAND the degree of approximation. I would like to automatize this process and not to bother about the best approximation but to be sure that Octave has chosen the best one by default. How could I do ? Thanks in advance Daniel Tourde -- ********************************************************************* Daniel TOURDE E-mail : ted at ffa dot se The Aeronautical Research Institute of Sweden Tel : +46 8 634 13 44 P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81 *********************************************************************