Data fit in simbiology app with a paramater that changes between groups
2 次查看(过去 30 天)
显示 更早的评论
I'm trying to use the simbiology app to fit data with a simbiology model. The problem is that between the data groups there is a independent variable (AHL) that changes between them (image 1). When the data was imported I defined the AHL row as a covariate (which I think is right) as seen in the image 1. The problem is that when I go to the data fit program in the simbiology app, at the part when all the other variables are defined (image 2), there is no option to define this AHL row as a covariate that needs to be linked to a parameter of the simbiology model (this, as shown in the image can be done for the group, independent and dependent type of variables). Is there a way I can do to define the AHL parameter so that it changes between data groups in fit data program of the simbiology app?
0 个评论
回答(1 个)
Sietse Braakman
2020-8-17
Hi Quim,
Yes, you can do this by creating a species that you 'dose' with your covariate column. You can then assign the value of that species to the parameter you want to vary. Note that you will have to change your covariate column to only have the numerical value at t=0, and NaNs everywhere else. Remember that doses are cumulative so if you just use the covariate column as you have it now for this trick, the parameter will keep increasing at every timestep defined in your dataset. Here is more detail:
Let me know if you have further questions.
Best,
Sietse
社区
更多回答在 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!