Introduction, Task 1,2
To build the model up in MATLAB, there are two ways we can use:
- one in the form of input-output differential equation
- one in the way of the transfer function
Input-Output Differential Equation
So we firstly need to change the transfer function into the differential equation, using the method mentioned in Lecture 2
We have one operator
So, replace y with
When beginning, the speed is 0 and we can take
So, at first we only have one input
Finally the flow chart is just like below.
![[Pasted image 20250923163306.png]]
Transfer Function
It is simpler than the input-output differential equation, since it comes from the Laplace-transformed input-output differential equation, with the input and out put variables out of consideration, it just depict the inherent properties of the system(depends on the type of input, like step, impulse etc.).