From: "John D'Errico" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: upper bound of integration (numerical evaluation)
Date: Mon, 23 Mar 2009 17:46:01 +0000 (UTC)
Organization: John D'Errico (1-3LEW5R)
Lines: 17
Message-ID: <gq8hsp$inn$>
References: <gq8gvc$cps$>
Reply-To: "John D'Errico" <>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1237830361 19191 (23 Mar 2009 17:46:01 GMT)
NNTP-Posting-Date: Mon, 23 Mar 2009 17:46:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: comp.soft-sys.matlab:527022

"Dimitar Dimitrov" <> wrote in message <gq8gvc$cps$>...
> Hi, 
> I have a curve parametrized using a parameter "T". 
> The relation between "T" and the length of the curve "L" is expressed through an integral of some function "F", let us denote it with L = quad(F,x_i,x_f)
> where x_i and x_f are lower and upper bounds for the integral.
> If we have a given value for L, I would like to find such x_f that produces it. 
> The problem can be easily solved using bisection, however, I was wondering whether there is a standard Matlab function that can be used. 

There is no standard function for your explicit
problem, but fzero is a rootfinder which will
be a better choice than writing your own
bisection code.