comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Fitting with three parameters ???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Fitting with three parameters ??? [message #88760] Mon, 16 June 2014 03:49 Go to previous message
atmospheric physics is currently offline  atmospheric physics
Messages: 121
Registered: June 2010
Senior Member
Hello,

I have two columns of data, say variables X and Y. Now I want to fit the data with a function Y = x1 - x2 * exp(-x3 * X). I do not know what the values of x1, x2 and x3.

Can anyone say if there is automatic way in IDL to define our fitting function and then obtain the fitted parameters to the data? How is non-linear fitting done in IDL? Also, I would like to know which function will be able to give me R2 correlation coefficient?

Thanks in advance,
Madhavan
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: FL website
Next Topic: Please, please, please can we have a missing data color for image()

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:14:16 PDT 2025

Total time taken to generate the page: 0.00184 seconds