Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3430

Re: fitting for Bateman equation returns NaN

Newsgroups comp.graphics.apps.gnuplot
Date 2016-11-03 02:41 -0700
References <c9696e77-4fc9-4466-9175-bff4ac3d6ef0@googlegroups.com> <nvcvov$qad$1@dont-email.me>
Message-ID <65025da6-a456-46d5-b987-2b6d8dcbc692@googlegroups.com> (permalink)
Subject Re: fitting for Bateman equation returns NaN
From apsara@connect.hku.hk

Show all headers | View raw


On Thursday, November 3, 2016 at 2:12:59 AM UTC+11, Michael Okuntsov wrote:

> > N=7998.68795
> > M=8540.4184
> > A=.04951051
> >
> > direct(x)=M*exp(-B*x)
> > fed(x)=(A*N/(B-A))*(exp(-A*x)-exp(-B*x))
> > f(x)=fed(x)+direct(x)
> 
> Define initial parameter:
> 
> B=-0.1
> ...


Hi Michael,

Thank you! it works great now. Why do we define B, though, and is the -0.1 arbitrary? What do I define N or M as, if I want to fix A, B and fit via N or M?

Thanks :)

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

fitting for Bateman equation returns NaN apsara@connect.hku.hk - 2016-11-02 07:44 -0700
  Re: fitting for Bateman equation returns NaN Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-11-02 22:12 +0700
    Re: fitting for Bateman equation returns NaN apsara@connect.hku.hk - 2016-11-03 02:41 -0700
      Re: fitting for Bateman equation returns NaN Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-11-03 17:11 +0700
      Re: fitting for Bateman equation returns NaN Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-11-03 17:16 +0700
      Re: fitting for Bateman equation returns NaN Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-11-03 15:38 +0100
        Re: fitting for Bateman equation returns NaN Dan Connelly <djconnel@gmail.com> - 2016-11-04 15:31 -0700

csiph-web