Finding integration limit which produces a prescribed value for a definite integral

Consider a function, f(x) which is the definite integral of g(s) from s=constant to s=x. I am looking for an efficient way to determine the value of x which produces a specific value, b, for f(x).
That is, determine x such that f(x)=b.
I would like to have x determined with a high degree of precision.

Answers (1)

basically you either do a zero search for f(x)-b, or you minimize (f(x)-b)^2

Categories

Find more on Configure Simulation Conditions in Help Center and File Exchange

Products

Asked:

on 19 Jul 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!