MATLAB Answers

Simulink build model from differential equation

2 views (last 30 days)
Mark S
Mark S on 14 May 2021
Answered: Pratyush Roy on 17 May 2021
Hi, I am very new in simulink. I have build a simulink model from the given equation:
Input is the voltage and output should be the angular phi from a spinning disk.
Do I have modeled this in simulink right? By the given differential equation?
I'm not sure if I modeled this correctly. Thank you for any help.

Answers (2)

Mark S
Mark S on 17 May 2021
Can anyone tell me what I am doing wrong here

Pratyush Roy
Pratyush Roy on 17 May 2021
Hi Mark,
The Simulink model has been built correctly and it is able to properly capture the differential equation as mentioned in the question. In case the equation has some initial conditions provided, you can add them to the Integrator block. You can use the Scope block to view the response of any of the states in the equation
Hope this helps!

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!