comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: How can I add parameter to curvefit?

How can I add parameter to curvefit?
type: item
description: 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
creator: kkobayas
date: 1995-11-11T08:00:00-00:00