How to repeatedly assign the concentration to a species

I am doing kinetic modelling using Simbiology. How to repeatedly assign the value in a column of dataset to a species?

댓글 수: 1

Are you looking for something along the lines of a lookup table as described here?

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

 채택된 답변

Ingrid Tigges
Ingrid Tigges 2015년 10월 21일

0 개 추천

The following describes how you can do a repeated assignment for a dataset. If you compare this to the link in my comment you will see some similarities :-). The easiest way to have a species follow an experimentally measured time course is to write a MATLAB function that interpolates the desired values and use that function in a repeated assignment. For example, the function might look like the following:
function h = interpolateH(time) timeData = [0; 1; 2; 3]; hData = [1; 1.1; 1.2; 1.3]; h = interp1(timeData, hData, time); end
The repeated assignment would be H=interpolateH2(time)
The Insulin response example in the documentation uses this kind of approach.

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

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

제품

태그

질문:

2015년 10월 19일

댓글:

2016년 1월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by