Team:Paris/Modeling/simul

From 2008.igem.org

(Difference between revisions)
Line 3: Line 3:
|-valign="top"
|-valign="top"
|style="background:#ffffff"|
|style="background:#ffffff"|
 +
 +
To go back to the previous page : [[Team:Paris/Modeling/Clic here]].
<html xmlns:v="urn:schemas-microsoft-com:vml"
<html xmlns:v="urn:schemas-microsoft-com:vml"
Line 227: Line 229:
</html>
</html>
-
 
|}<br style="clear:both" />
|}<br style="clear:both" />

Revision as of 17:30, 6 August 2008

To go back to the previous page : Team:Paris/Modeling/Clic here.

% 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)

% [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 1e-4 1e-4 1e-4 1e-4]);

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