How to model in matlab and simulink
1 view (last 30 days)
Show older comments
2 Comments
Aquatris
on 3 Apr 2019
First you derive the equations that represent the working dynamics of the system. Then, you implement the equation using simulink block diagrams. If you want someone to derive the equations for you, this is not the platform for it.
Agnish Dutta
on 16 Apr 2019
You could model the system using differential equations and then use MATLAB symbolic math toolbox to solve them. Please find the links below:
Tutorial to solve ODE's - https://www.mathworks.com/help/matlab/ref/ode45.html
Getting started with Symbolic math toolbox - https://www.mathworks.com/help/symbolic/getting-started-with-symbolic-math-toolbox.html
Answers (1)
Jesús Zambrano
on 6 Feb 2020
Edited: Jesús Zambrano
on 7 Feb 2020
Hi Jesus,
One way is to describe the system is using differential equation. Classical text book of dynamic systems can guide you. Then, you can use Simulink to represent this differential equation, where the integrator block is the key block to use, please have a look at this link:
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!