Message Boards Message Boards

0
|
2486 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Find parameters for an equation that depends on two lists

Posted 3 years ago

I need to find the parameters a,b,d,g,h,i that best fit the "q" function

q = (a + bt + dE^(gt))(1 - x + h + i*t)

but that function depends on the values of "x" and "t" , I have a list of pairs. this is the data I used

:

POSTED BY: Sarah Ch

Seems it doesn't fit really

sol = NonlinearModelFit[
  ​​datosw, (a + b t + d E^(g t)) (1 - x + h + i*t) ,
  {a, b, d, g, x, h, i}, t]


Plot[(sol // Normal), {t, 0, 60}, Epilog -> Point /@ ​​datosw,    PlotRange -> {0, .08}]
POSTED BY: Hans Dolhaine
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract