Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
SysBiOThe
/
CRA-Matlab
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 13ee5929
authored
2019-03-31 21:54:10 +0200
by
Chiara Antonini
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Upload new file
1 parent
f7025376
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
CRA_Updated_Version/CRA_Toolbox_bash/Examples/PulseGeneratorNetwork.m
CRA_Updated_Version/CRA_Toolbox_bash/Examples/PulseGeneratorNetwork.m
0 → 100644
View file @
13ee592
%% Pulse Generator Network model.
% ODE of the Pulse Generator Network. Parameters in input are:
% - t is the time
% - x is the vector of state variables
% - p is the parameter vector
% - u is the vector of inputs
% - xT is the vector of total concentrations
function
dx
=
PulseGeneratorNetwork
(
t
,
x
,
p
,
u
,
xT
)
%names of model parameters
k1
=
p
(
1
);
K1
=
p
(
2
);
lambda2
=
p
(
3
);
k12
=
p
(
4
);
K2
=
p
(
5
);
lambda
=
p
(
6
);
%input signal
S1
=
u
(
1
);
%state variables
R2
=
x
(
1
);
Y
=
x
(
2
);
%ODEs
dR2
=
k1
*
((
S1
/
K1
)
^
3
)/(
1
+
(
S1
/
K1
)
^
3
)
-
lambda2
*
R2
;
dY
=
k12
/(
1
+
(
R2
/
K2
)
^
3
)
*
((
S1
/
K1
)
^
3
/(
1
+
(
S1
/
K1
)
^
3
))
-
lambda
*
Y
;
dx
=
[
dR2
;
dY
];
end
\ No newline at end of file
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment