|
From: | Przemek Klosowski |
Subject: | Re: exp fit problem |
Date: | Thu, 25 Jun 2015 13:44:09 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 06/25/2015 10:00 AM, Thomas Potrusil
wrote:
you can use the leasqr function from the optimization package ( pkg load optim). Load x and y from your data, select the initial parameters (I eyeballed them at 250 and 1) and fit the function @(x,p) p(1)*exp(-x/p(2)). It fits nicely: ![]() |
[Prev in Thread] | Current Thread | [Next in Thread] |