home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / sci / math / symbolic / 3532 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.5 KB  |  37 lines

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