I'm just learning matlab and hope to find a nonlinear least squares regression routine such as the levenberg-marquardt algorithm. I need to fit a variety of exponential decay functions with 2 to 7 unknown parameters to a 256-channel MCA output, with deconvolution of an instrumental response function. The output is from a single photon counting time resolved fluorescence lifetime instrument, if anyone cares. I checked the archives of this group (this appears to be a FAQ) and found several references to least squares routines leastsq.m, leassq.m and leasqr.m but could find none of them at the mathworks ftp site, or in the files in my matlab subdirectories. Does anyone have such a program, or know where I can find one?
-- "I stayed in school this long but still no one will tell me why..." -- Sloan, "Autobiography" Andrew P. Rodenhiser, Ph.D. student, Colloidal Physical Chemistry Dept. of Chemistry, Dalhousie University, Halifax NS Canada B3H 4J3 http://ac.dal.ca/~aproden/home.html