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!