Team:Paris/Modeling/first parameters/Simulation

From 2008.igem.org


To go back to the previous page : First Parameters Obtained


% simul

% simul.m : simulation of the model

%%% Commentary: This function is used in the premiermodele.m file that has

%%% to be launched.

%%% Code:

function [y,t]=simul(t,xinit,alpha,beta)

% [y,t]=simul(t,xinit)

% t : duration of the simulation

% xinit: initial state

% y: output

% simulation

options = odeset('RelTol',1e-4,'AbsTol',[1e-4 1e-4 1e-4 1e-4 1e-4 ]);

[t,y] = ode45(@modele,t,xinit,options,alpha,beta); % This function computes the output of the ode previously defined.