[proFit-list] FindMaximum, Analyze
Gareth Swarbrick
gareths at mac.com
Tue Jan 1 17:48:26 CST 2008
Not sure if the space between the 'a' and the '[5]' is causing your
problem but worth a try...
Gareth.
On 21/12/2007, at 12:47 PM, Joseph Walrath wrote:
> Hello,
>
> I am having some trouble the with Analyze function. I have a simple
> 4th order polynomial function:
>
> function SlopeFunction;
> begin
> y:= a[1] + a[2] + 2.0* a[4]*(x-a[3]) + 3.0*a [5]*(x -
> a[3])^2
>
> + 4.0* a[6]*(x- a[3])^3 + 5.0*a[7]*(x -a[3])^4 ;
> end ;
>
>
> The parameters are always defined with SetParameterProperties.
> However, I get NAN as an answer for both x and y.
>
> Analyze( function SlopeFunction, type FindMaximum,
> useFittedParameters false, tabulateResults true,
> parameter 0, xMin -10, xMax 10, subintervals 4);
>
> Anyone had problems with this routine?
>
> Thanks much
> Joe
>
> --
> Joseph Walrath, MD
> Departments of Ophthalmology
> Columbia University, Edward S. Harkness Eye Institute
> St. Vincent's Catholic Medical Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://quantum-soft.com/pipermail/profit-list_quantum-soft.com/attachments/20080102/bdad94aa/attachment.html
More information about the proFit-list
mailing list