MATLAB Answers

Population growth in simulink

6 views (last 30 days)
Ydd97
Ydd97 on 16 Nov 2019
Answered: Jyothis Gireesh on 20 Nov 2019
Hi,
I want to simulate the growth of a population in simulink. The Laplace transfer is is 5302778 / s-0.0063.
I have tried to put the input as 5302778 which is the population and then setting the transfer function as 1/s-0.0063, and scope as output. However, the simulation that comes up is not right. Therefore I tried with step and sine wave as inputs but they still wont come out right.
I am wondering if I should do it another way and was hoping someone could help me with this? :)

Answers (1)

Jyothis Gireesh
Jyothis Gireesh on 20 Nov 2019
Here are a few pointers which may be of help to you:
  • It may not be possible to implement the transfer function as as the numerator of the actual transfer function is not unity.
  • One possible solution is as follows:
  1. Use the “transfer function” block in Simulink with the numerator and denominator coefficients fields as “5302778” and “[1 -0.0063]” respectively.
  2. Input can be given using "step" block.
  3. The analytical solution of this system for a step input is given by
The simulated output in this case resembles the one obtained analytically.

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!