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

Home » Public Forums » archive » How can I add parameter to curvefit?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How can I add parameter to curvefit? [message #5320] Sat, 11 November 1995 00:00
kkobayas is currently offline  kkobayas
Messages: 7
Registered: June 1994
Junior Member
Hi,

I'm doing a curve fitting using CURVEFIT. However, I would like to be
able to pass on an extra paremeter to the function that CURFEFIT calls.
(i.e. the one that returns the function I'm trying to fit to and its
derivative.) In other words, if the function has three parameters, do a
least-square fit using just two of the parameters. The only ways I could
think of were (a) hack CURVEFIT.PRO to add a parameter to the function
calls, or (b) save the parameter in a file and read that. (a) has a
problem with portability, and (b) seems rather slow considering the
function is called many tims. Is there a better way to do this?

- Ken
--
------------------------------------------------------------ -----------------
Ken Kobayashi . "Too low they build, who build
kkobayashi@cfa.harvard.edu . beneath the stars."
http://stargazer.student.harvard.edu/ . - Edward Young
[Message index]
 
Read Message
Previous Topic: Q: About reading files into an array without knowing the size.
Next Topic: [Request] Plotting procedure for wind-rose

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

Current Time: Wed Oct 08 19:43:01 PDT 2025

Total time taken to generate the page: 0.00411 seconds