1
2
3
4
5
6
7
8
9
10
11
12
13
|
function [t,y,y_theta] = mtt_simulate(system_name,theta);
## usage: [t,y,y_theta] = mtt_simulate(r);
##
## Simulate system with name system and parameter vector theta
## The order of components in theta is determined in system_numpar.txt:
## Copyright (C) 1999 by Peter J. Gawthrop
## Simulate using mtt-generated function
y_theta = [];
for i=1:length(theta)
args="";
for j=1:length(theta)
i_sensitivity=(j==i);
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
function [t,y,y_theta] = mtt_simulate(system_name,theta);
## usage: [t,y,y_theta] = mtt_simulate(r);
##
## Simulate system with name system and parameter vector theta
## The order of components in theta is determined in system_numpar.txt:
## Copyright (C) 1999 by Peter J. Gawthrop
## $Id$
## Simulate using mtt-generated function
y_theta = [];
for i=1:length(theta)
args="";
for j=1:length(theta)
i_sensitivity=(j==i);
|