home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / programm / 2355 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.2 KB

  1. Xref: sparky comp.programming:2355 comp.realtime:964
  2. Newsgroups: comp.programming,comp.realtime
  3. Path: sparky!uunet!cs.utexas.edu!wupost!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!messua!dak
  4. From: dak@messua.informatik.rwth-aachen.de (David Kastrup)
  5. Subject: Re: Fitting a gaussian curve to data
  6. Message-ID: <dak.714052745@messua>
  7. Keywords: fit,gaussian,normal
  8. Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
  9. Nntp-Posting-Host: messua
  10. Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
  11. References: <1992Aug17.100836.15450@jet.uk>
  12. Date: 17 Aug 92 11:59:05 GMT
  13. Lines: 14
  14.  
  15. rmal@jet.uk (Richard Lucock) writes:
  16.  
  17. >Hi,
  18. >    I am looking for a routine (code or algorithm) to fit a
  19. >gausian curve to data. I can do this easily using a least squares
  20. >minimisation routine (from the Nag library in fact), but it is too
  21. >slow (this is for a realtime application, hence the crossposting), so
  22. >I am trying to find something faster.
  23.  
  24. Have you tried the simple-minded approach of calculating mean
  25. and variance of your data and using them as parameters to your
  26. gaussian? BTW, doing this numerically stable is also discussed in
  27. Seminumerical Algorithms, Vol. 2 of The Art of Computer Programming
  28. by Knuth.
  29.