How to repeatedly assign the concentration to a species

1 Ansicht (letzte 30 Tage)
Chao'en Li
Chao'en Li am 19 Okt. 2015
Kommentiert: Chao'en Li am 18 Jan. 2016
I am doing kinetic modelling using Simbiology. How to repeatedly assign the value in a column of dataset to a species?
  1 Kommentar
Ingrid Tigges
Ingrid Tigges am 20 Okt. 2015
Are you looking for something along the lines of a lookup table as described here?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Ingrid Tigges
Ingrid Tigges am 21 Okt. 2015
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.

Weitere Antworten (0)

Communitys

Weitere Antworten in  SimBiology Community

Kategorien

Mehr zu Import Data finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by