Path: news.mathworks.com!not-for-mail
From: "deva " <andadodk@yahoo.fr>
Newsgroups: comp.soft-sys.matlab
Subject: Solving an equation with no close analytical solution
Date: Fri, 19 Dec 2008 11:18:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <gifvtb$6tp$1@fred.mathworks.com>
Reply-To: "deva " <andadodk@yahoo.fr>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1229685483 7097 172.30.248.37 (19 Dec 2008 11:18:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 19 Dec 2008 11:18:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1646150
Xref: news.mathworks.com comp.soft-sys.matlab:507940

Hi to all and thanks in advance for your help.
I have to solve an equation that writes as 
a=exp(x*c)*(exp((b-x)*c)-1)/(b-x)
The unknown is x while a,b and c are known
I have 5000 values for a while c and b are the same through each equation, this means that I need to find 5000 x.
In maple I can find a numerical solution with fsolve, but I have to do manually for each of the 5000 values (which takes a awful amount of time)
I would like to know if there is a way to find a numerical solution to this equation in matlab and to this in a loop that allows to use the array of 5000 values of a to create an array for the 5000 values of x.

I do know if that's clear, i have been struggling for this porblem for the latest three days.
So any help would be really greatly appreciated!!!
thanks again
a