Is there a listing of functions (such as 'trapz') to use in SimBiology explorer?

I am looking to generate some standard PK parameters from the simulation runs (AUC, Tmax, Cmax etc).
Is there a listing of functions somewhere that I can incorporate into the explorer such as 'trapz'?

 Risposta accettata

Hi Andrew,
You could use the following:
Cmax: max(Central.Drug_Central)
Tmax: time(Central.Drug_Central == max(Central.Drug_Central))
Tend: time(end)
AUC0-last: trapz(time,Central.Drug_Central)
Other quantities (half-life, C0, AUC0-inf, CL etc) require extrapolation and regressions, which is what sbionca takes care of for you. More definitions of the NCA parameters are here.
You could also turn your simulation results into a table and pass that onto sbionca. This is somewhat easier said then done. I have some code that you download here, see the function 'CreateTableSimdata' in the NCA folder of the download.
Let me know if you have further questions.
Best,
Sietse

1 Commento

This looks great. Is it possible to build the data table creation and sbionca command into a custom task?

Accedi per commentare.

Più risposte (0)

Community

Più risposte nel  SimBiology Community

Community Treasure Hunt

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

Start Hunting!

Translated by