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

Home » Public Forums » archive » curvefit question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
curvefit question [message #25763] Wed, 11 July 2001 15:25 Go to previous message
Mike Barker is currently offline  Mike Barker
Messages: 2
Registered: June 2001
Junior Member
Hello,

I would like to fit the following function:

y = m2*(x - x0) + m1*x0 + b1

where m2 is the ONLY parameter to be fitted and m1, b1, x0 are
variables (I DO NOT want to fit them). I'm having trouble figuring out
how to do this with curvefit (or any of the other built-in
routines). Curvefit won't let me pass m1, b1, and x0 as parameters. I
tried using a common block to store the variables but I still have to
compile the function before I declare the common block. If anyone could
help I would be forever grateful.

Sincerely,
Mike
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: CurveFit question
Next Topic: HDF5 - Group or Dataset?

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

Current Time: Fri Oct 10 05:06:19 PDT 2025

Total time taken to generate the page: 0.39833 seconds