Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using ode45 in Matlab implement the following lynx-hare autonomous system taken from the text book Feedback Systems page 181 d H aHL d L a
Using ode45 in Matlab implement the following lynx-hare autonomous system taken from the text book "Feedback Systems" page 181 d H aHL d L a H L c+ H Where H is the population of hares and L is the population of lynxes with a-3.2, b-0.6, c 50, d-0.56, k-125, r-1.6 Use the following initial conditions Ho 20, Lo 20 Run the simulation for a duration T 100 with sampling time dt-0.1 Plot the population of hares and population of lynxes as a function of time on the same figure Use ode45 method 3 and implement a PID regulator to control the population of lynxes to 30. In this exercise, we will control the population of lynxes by changing the amount of food u provided to the hares. Use kp- 0.25, k, 0.05, and kj 0.18. Run the simulation for a duration T 100 with sampling time dt-0.1. Plot the population of hares and the population of lynxes as a function of time on the same figure. On another figure, plot the input u as a function of time. Record the steady state value of the last input used by the PID controller u(T 100) from the previous point. Repeat the simulation this time removing the PID controller and applying u(T-100) directly to the system for the entire duration of the simulation T-100 Plot the population of hares and the population of lynxes as a function of time on the same figure How does the system behave? Do you obtain the same result as in the previous point? Explain why it is different
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started