Fzero: finding optimal integration limit between to areas
Show older comments
Given are measured datapoints, concentration vs time (t_0 to t_end). I do not have the exact function.
I'd like to find the specific time t_opt, where the area under the function (calculated using trapz) from t_0 to t_opt is equal to the area above the function from t_opt to t_end. Hopefully the drawing attached explains this more clearly.
My unsuccesful attempt is attached. Would really appreciate some help.

Accepted Answer
More Answers (1)
Categories
Find more on Numerical Integration and Differentiation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!