AUC for Pharmacokinetic Study

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.

 Respuesta aceptada

Arthur Goldsipe
Arthur Goldsipe el 26 de Jun. de 2020

1 voto

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 comentarios

Velarie Ansu
Velarie Ansu el 26 de Jun. de 2020
Thank you. I will check them out. I am trying to figure Simbiology out. Yet to find an example that matches data.
Elham
Elham el 3 de En. de 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
Jeremy Huard el 3 de En. de 2025
@Elham Can you share how the observable is defined?
Also, did you define it in the model itself or did you add the observable to the SimData object?

Iniciar sesión para comentar.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  SimBiology Community

Categorías

Más información sobre Extend Modeling Environment en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Preguntada:

el 25 de Jun. de 2020

Comentada:

el 3 de En. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by