MPCURVEFIT and CURVEFIT questions [message #32894] |
Fri, 15 November 2002 11:30 |
Jonathan Greenberg
Messages: 91 Registered: November 2002
|
Member |
|
|
I'm restating a previous question, but I do have a new one:
1) If CURVEFIT or MPCURVEFIT receive an X or Y array containing at least one
observation containing NaN, what will happen? Will it simply ignore that
observation, or will it somehow choke on the results?
2) Is there any way to get CURVEFIT or MPCURVEFIT to run on a 2-d array of
observations:
X = [9,8,7; 6,5,4; 3,2,1]
Y = [1,2,3;1,2,3; 1,2,3]
So it will perform 3 regressions, one for each line of data, and return two
sets of parameters, SIGMA, whatever, or do I have to brute force it by
for-next looping through the process?
--j
--
Jonathan Greenberg
Graduate Group in Ecology, U.C. Davis
http://www.cstars.ucdavis.edu/~jongreen
http://www.cstars.ucdavis.edu
AIM: jgrn307 or jgrn3007
MSN: jgrn307@msn.com or jgrn3007@msn.com
|
|
|