Article View: sci.math.symbolic
Article #992Re: Curve fitting with Maple?
From: Michael
Date: Wed, 27 Jan 1993 13:51
Date: Wed, 27 Jan 1993 13:51
24 lines
1538 bytes
1538 bytes
In article <7007@dciem.dciem.dnd.ca>, hugh@dciem.dciem.dnd.ca (Hugh D. Gamble) writes: > I know there are lots of s/w packages specifically for curve fitting, > and I could whip up a least squares fit algorithm in C and use it, but > what I want to do should be easy to do from Maple, I think, if I knew > how. > > I want to fit a set of x,y datapoints to a 2nd order polynomial. > ... > > Comments? Thanks. > > Hugh D. Gamble, NTT Systems Inc. (at DCIEM (416) 635-2156) Std. Disclaimers # ============ Dear Hugh, The routine "fit" in the Maple share library is hopefully what you need. fit( X, Y, [1,t,t^2], t ); will return a quadratic polynomial in t which fits the data X,Y in the least squares sense. You can get the routine from the Maple share library using anonyous ftp at daisy.uwaterloo.ca or ftp.inria.fr or neptune.inf.ethz.ch It's the file maple/5.0/share/fit. Alternatively, using e-mail, send an message to maple-netlib@can.nl consisting of the text "send info". Michael Monagan
Technical Details
Message-ID:
<1993Jan27.135152.19102@neptune.inf.ethz.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!scsing.switch.ch!bernina!neptune!monaganReferences:
<7007@dciem.dciem.dnd.ca>Show Full Headers
Complete Article Headers
Newsgroups: sci.math.symbolic Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!scsing.switch.ch!bernina!neptune!monagan From: monagan@inf.ethz.ch (Michael) Subject: Re: Curve fitting with Maple? Message-ID: <1993Jan27.135152.19102@neptune.inf.ethz.ch> Sender: news@neptune.inf.ethz.ch (Mr News) Nntp-Posting-Host: rutishauser-gw.inf.ethz.ch Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH References: <7007@dciem.dciem.dnd.ca> Date: Wed, 27 Jan 1993 13:51:52 GMT Lines: 24