Skip to content
Snippets Groups Projects
Select Git revision
  • 02a0847213734d473e8c9d09e058537df6764efe
  • master default
2 results

options.m

Blame
  • user avatar
    Paul CACHEUX authored
    02a08472
    History
    options.m 427 B
    classdef options
        properties
            InfectionRate
            ImmunisationRate
            ImmunisationLossRate
            VaccinationRate
            DeathRate
            NaturalDeathRate
            NatalityRate
        end
        
        properties(Dependent)
            R0
        end
        
        methods
            function R0=get.R0(obj)
                R0 = obj.InfectionRate / (obj.ImmunisationRate + obj.DeathRate + obj.VaccinationRate);
            end
        end
    end