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'?

 채택된 답변

Sietse Braakman
Sietse Braakman 2019년 9월 26일
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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

도움말 센터File Exchange에서 Import Data에 대해 자세히 알아보기

질문:

2019년 9월 26일

댓글:

2019년 9월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by