Issues in fitting a simple tumor growth model
4 次查看(过去 30 天)
显示 更早的评论
Dear staff,
I'm learning how to implement a TGI model in Simbiology using a scripting approach. For that purpose I started to implement my model (based on the example tumor_growth_fitPKPD_completed.sbproj) just with a modified growth component and I'm trying to fit a dataset. Attached you can find the dataset (synth_data.mat) and the TGI script (test_code.m). As you can see the initial tumor mass of different patients varies quite a lot so I can't use a unique initialization for the variable w0. I would like to understand if (and how) it is possible to pass to the model the initial tumor mass for each ID, in order to avoid to fit this parameter.
Thank you very much for your help.
0 个评论
采纳的回答
Arthur Goldsipe
2025-6-19
You can use the Variants property of the fitproblem to specify initial conditions that are specific to each ID. Create one variant for each ID using sbiovariant. I can probably provide sample code later, but I don't have time right now.
7 个评论
Arthur Goldsipe
2025-6-23
Ah, excellent. Glad you figured it out. If it's any consolation, I completely forgot to check whether you model had active doses. So I was pretty stumped by this myself, even after working on the SimBiology development team for many years.
更多回答(0 个)
社区
更多回答在 SimBiology Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!