Re: curve fitting question
- To: mathgroup at smc.vnet.net
- Subject: [mg115439] Re: curve fitting question
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Tue, 11 Jan 2011 00:34:30 -0500 (EST)
Something like Minimize[Simplify[ Total[(y - (a + b (Exp[40*(x + c*y)/d] - 1) - (x + c*y)/e))^2 /. Thread[{x, y} -> #] & /@ data]], {a, b, c, d, e}] Bob Hanlon ---- "Michael B. Heaney" <mheaney at alum.mit.edu> 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 equationcannot be put in the form y=f(x). How do I fit this equation to my x,y data? Thanks, Michael -- Bob Hanlon