MATLAB Pharmocokinetics Help

MATLAB_Pharmocokinetics is a graphical user interface (GUI) that corresponds to the pharmocokinetic model given by

(| y ′    = - ay(t)
||{   ′
  z      = ay(t) - bz(t)
|| y (0 )  = y0
|(
  z (0 )  = z0

where y(t) and z(t) represent the concentration of DRUG Y at time, t, in the GI tract and bloodstream respectively . The positive parameters a,b correspond to the absorption rate of the drug into the blood stream and the rate at which the drug is eliminated from the blood stream (see the text for me details). The initial concentrations are prescribed via y0 and z0.

The purpose of the GUI is to investigate the consequences of imprecise information. There are two panels, one named ‘Drug Model’ and the other named ‘Drug model with small errors in measurements’. The idea is you can input the imprecise measurements in the second panel and the true measurements in the first. The GUI will then output both solutions and visually you will see the consequences of measurements being “a little off”. In the GUI, parameters that have errors in them have a subscript of a 2. For example, a2 is the imprecise absorption rate into the blood stream.

To use the GUI, you must input four positive parameters per model panel and the amount of time the concentration will be measured in the panel named ‘User Panel’. In practice, measuring devices are relatively accurate, so for example the parameter a shouldn’t be too different then a2.


PIC

Figure 1: MATLAB Pharmocokinetics GUI


Once the inputs have been made, click on the Solve button to see plots of the solutions to the models. Notice one plot will contain the GI tract concentration for both models on the same axis, and the other, the blood concentrations on the same axis.


PIC

Figure 2: Plot of solutions.


Changes to one or all of the parameters can be made by replacing a desired parameter value with another. To reset the GUI, click the ‘Reset’ button.