- #1
sara_87
- 763
- 0
On a given day of a flu epidemic, a given percentage Y of the population is ill and (1-Y) is healthy. The probability of remaining healthy on the next day is a, and that of remaining sick is B. The question is, what percentage will be ill after a given number of days as a function of B,a and Y.
Write down the problem as a matrix multiplication of the vector of healthy and ill people. Define a MATLAB function that gives the percentage of ill people after n days for arbitrary B a,and Y.
any hints will be appreciated v much
thank you
Write down the problem as a matrix multiplication of the vector of healthy and ill people. Define a MATLAB function that gives the percentage of ill people after n days for arbitrary B a,and Y.
any hints will be appreciated v much
thank you