4th Order ODE in Simulink

I have attached the question I am working on and the previous question (as it pertains to this problem). The previous question asks me to solve a 4thorder ODE in matlab using ode45. I have done this and attached my code below. The question I need help on is how to solve this problem in simulink. I've also attached a pic of my work so far. Thanks for your help

 Risposta accettata

Birdman
Birdman il 4 Dic 2017

0 voti

Try the attached model. See if it works for you. Note that the system can not be solved at the time 4.96, therefore I set the end time as 4.5.

3 Commenti

BlkHoleSun
BlkHoleSun il 4 Dic 2017
Thank you for your response, but I am having no luck opening the text with simulink. Would happen to know how to convert over or would you be willing to email it to my personal email?
Birdman
Birdman il 4 Dic 2017
What is your MATLAB version?
To download it, right click on the attachment and click Save the link as.
BlkHoleSun
BlkHoleSun il 4 Dic 2017
I was able to download and test it. I am still analyzing what you did to make sure I understand. This is my first attempt at simulink so I'm still trying to understand all the components. Thanks for your help!

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by