Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion GynCycle_Original code/CreateFollicles.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
function [FSHVec, StartVec] = CreateFollicles(para,paraPoi,tb,te)
function [FSHVec, StartVec] = CreateFollicles(para,paraPoi,tb,te)
% use a fixed random seed for reproducibility
rng(0,"twister");

%create normal distributed fsh sensitivities for each foll
fileID2 = fopen('FSH.txt','w+');
Expand Down
4 changes: 3 additions & 1 deletion GynCycle_Original code/HumanSimulationFollGrowth.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
%set specifications for simulations a call calculation and solving of the ODE
%needed:'Model28_Parameter.dat', 'InitialValues.txt'

function HumanSimulationFollGrowth
function HumanSimulationFollGrowth
% initialise RNG for deterministic behaviour
rng(0,"twister");
%
%-----------------------------------------------------------------------
%
Expand Down
4 changes: 3 additions & 1 deletion GynCycle_Original code/poissonproc.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
function S =poissonproc(lambda,tspan)
function S =poissonproc(lambda,tspan)
% deterministic Poisson process based on a fixed seed
rng(0,"twister");

tb=tspan(1); %start time
te=tspan(2); %end time
Expand Down