Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 923e104aa634230547ba464c6bc8fee07f662ffa authored by Rene Niehus on 03 March 2020, 02:26:02 UTC, committed by GitHub on 03 March 2020, 02:26:02 UTC
Update invasion_analysis.m
1 parent 0cee31f
  • Files
  • Changes
  • c60dd23
  • /
  • ODE_delta.m
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:923e104aa634230547ba464c6bc8fee07f662ffa
directory badge Iframe embedding
swh:1:dir:c60dd23f7004bca655d5420d5ac0c7fc4b795c93
content badge Iframe embedding
swh:1:cnt:ba7ce2f37fbf09005e319cfd10e6657e910a36e8
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
ODE_delta.m
function dXdt = ODE_delta(X,param)
Ca=X(1); Cb=X(2); Ta=X(3); Tb=X(4); N=X(5);
fa = X(6); fb = X(7);
%Cell Density A
% (N/(N+param.KN)) = N
dCadt =(1-fa)*param.mu*(N/(N+param.KN))*Ca - param.kay*Tb*Ca;
%Cell Density B
dCbdt =(1-fb)*param.mu*(N/(N+param.KN))*Cb - param.kay*Ta*Cb;
%Toxin A Concentration
dTadt = fa*(N/(N+param.KN))*Ca - (param.D)*Ta;
%Toxin B Concentration
dTbdt = fb*(N/(N+param.KN))*Cb - (param.D)*Tb;
% explicit Nutrients
dNdt = -1*(N/(N+param.KN))*(Ca + Cb) ;
%%%% put them all together
dXdt=[dCadt;dCbdt;dTadt;dTbdt;dNdt];
end
 
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top