DSPRelated.com
Forums

nonlinear curve fitting- help needed

Started by pallaviteredesai73 June 24, 2005
Hi,

I am a new matlab user and am fitting a spectrum to a sum of 5 Gaussian
lineshapes. I managed to do this using a custom equation. But I have
following difficulties.

(1) I want to save the fitted curve as a two column data file. How to do this?
(2) I want to simulate/generate individual five Gaussian lineshapes (knowing
the fitted parameters) and also want to save these 5 lineshapes as data files.
How can this be done?

Any help in this matter is highly appreciated. Thanks in advance

Pallavi