AUC for Pharmacokinetic Study
13 views (last 30 days)
Show older comments
Velarie Ansu
on 25 Jun 2020
Commented: Jeremy Huard
on 3 Jan 2025
I have three supplements that I would like to compare (bioavailability). For each of the three, we will have whole bood, serum, and urine measurements done at timed intervals in a day. Supplements will be given orally and it will be a single dose (three different days for each).
I am exploring the best way to calculate area under the curve using trapezoidal rule, finding tmax, and cmax. I have explored Simbiology and the examples I have seen are far more complex than what I need. I will appreciate any help on getting this done. Thank you.
0 Comments
Accepted Answer
Arthur Goldsipe
on 26 Jun 2020
The simplest way to calculate AUC in MATLAB using the trapezoidal rule is probably to use the function trapz. Within SimBiology, these sorts of caculations are usually done as part of non-compartmental analysis. Would one of those approaches work for you?
3 Comments
Elham
on 3 Jan 2025
I am using SimBiology to calculate the area under the curve (AUC). When I define this calculation as an observable, the result is NaN. However, when I extract the data from the SimData object and calculate the AUC outside simbiology (e.g., trapz), I get valid results. Could you help me understand why this happens and how I can correctly calculate the AUC as an observable within SimBiology?
Jeremy Huard
on 3 Jan 2025
@Elham Can you share how the observable is defined?
More Answers (0)
Communities
More Answers in the SimBiology Community
See Also
Categories
Find more on Extend Modeling Environment 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!