Path: news.mathworks.com!not-for-mail
From: "John D'Errico" <woodchips@rochester.rr.com>
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$1@fred.mathworks.com>
References: <gq8gvc$cps$1@fred.mathworks.com>
Reply-To: "John D'Errico" <woodchips@rochester.rr.com>
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 1237830361 19191 172.30.248.37 (23 Mar 2009 17:46:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 23 Mar 2009 17:46:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: news.mathworks.com comp.soft-sys.matlab:527022

"Dimitar Dimitrov" <mail_mitko@example.com> wrote in message <gq8gvc$cps$1@fred.mathworks.com>...
> 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.

John