| forum.alglib.net http://forum.alglib.net/ | |
| curve fitting http://forum.alglib.net/viewtopic.php?f=2&t=626 | Page 1 of 1 | 
| Author: | slap [ Thu Oct 11, 2012 8:30 pm ] | 
| Post subject: | curve fitting | 
| Does anyone have any examples of curve fitting I can study? The sort of problem I have is a measured curve consisting of a weighted sum of portions of other curves A, B. C,..... I want to fit curves A, B, C,.... to the measured curve... to determine the proportions of A, B, C, ... nneded to model it. I am completely stuck as how to formulate this, should I be using the lsfit routines? if so can sopmeone give a pointer as how to set up a problem of this type many thanks in anticipation of some pointers, | |
| Author: | Sergey.Bochkanov [ Fri Oct 12, 2012 5:44 am ] | 
| Post subject: | Re: curve fitting | 
| You should use linear least squares - this algorithm represents data as linear combination of arbitrary functions (even nonlinear) assuming that you know function values in points of dataset. lsfitlinear function, I think, should work for you. | |
| Page 1 of 1 | All times are UTC | 
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ | |