help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Curve fitting of data from text file


From: Przemek Klosowski
Subject: Re: Curve fitting of data from text file
Date: Wed, 31 Mar 2010 11:55:26 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3

On 03/31/2010 11:27 AM, Przemek Klosowski wrote:

leasqr doesn't seem to allow constraining parameters, but you can
sneak them in by penalizing your function if parameters
are out of bounds; just add a term like 1000*((p(1)<25)||(p(1)>2500))

Replying to myself: DOH, if I paid better attention I would have
remembered the other nonlinear fitting thread, where the options
input parameter to leasqr was discussed, in particular options.bounds.
See the Re: non-linear fitting with bounds   thread


reply via email to

[Prev in Thread] Current Thread [Next in Thread]