Re: curve fitting question
- To: mathgroup at smc.vnet.net
- Subject: [mg115430] Re: curve fitting question
- From: Peter Pein <petsie at dordos.net>
- Date: Tue, 11 Jan 2011 00:32:47 -0500 (EST)
- References: <igecqn$cqe$1@smc.vnet.net>
On 10.01.2011 08:34, Michael B. Heaney wrote:
> Hi,
>
> I have data in (x,y) pairs. I have an equation:
>
> y= a +b (Exp[40*(x + c*y)/d] - 1) - (x +c*y)/e
>
> where a,b,c,d, and e are fitting parameters.
>
> Note that this equation cannot be put in the form y=f(x).
>
> How do I fit this equation to my x,y data?
>
> Thanks,
>
> Michael
>
>
I guess you did not try
f[x_] = Collect[
y /. First@
Solve[y == a + b (Exp[40*(x + c*y)/d] - 1) - (x + c*y)/e, y], d,
Simplify]
?
Peter