Simulink model for Differential equation

1 view (last 30 days)
Hey, maybe someone can help me. I have to create a Simulink model for the following differential equation:
I have already solved the equation for xdd
.
The equation looks very similar to that of a "mass spring damper" system.
I already know how the model looks for that system (look below). I just need some help modifying it.
Thank you for the help
  2 Comments
Rhea Chandy
Rhea Chandy on 2 Feb 2021
Hi, can you give some more information on what you need help with? If you can share the model you are working on, and give some informaton on your difficulties, we may better able to help.
TwiceYTPL
TwiceYTPL on 2 Feb 2021
i just need some help representing the equation above in a simulink model. It should be pretty easy.

Sign in to comment.

Accepted Answer

KaMATLAB
KaMATLAB on 2 Feb 2021
The force F is the input into the system. But you used sinewave model for the force. Follow the attached sketch. Make sure you used the sinewave block ans set the values. You must set the input force
  3 Comments
TwiceYTPL
TwiceYTPL on 2 Feb 2021
yes it works very fine. Thank you for the great help!!!

Sign in to comment.

More Answers (1)

KaMATLAB
KaMATLAB on 2 Feb 2021
Your simulink model seems correct. Can you be exact regarding your request?
  1 Comment
TwiceYTPL
TwiceYTPL on 2 Feb 2021
Edited: TwiceYTPL on 2 Feb 2021
My model is for the equation
I need some help modifying it to the equation
I have to implement the sinus, somehow. I just dont know how
Thank You

Sign in to comment.

Categories

Find more on Simulink 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!