Simulink Onramp 13.1 Task 5

16 views (last 30 days)
David Nicholson
David Nicholson on 3 May 2020
I am encountering an error with task 5 of the simulink onramp. The task says to set the initial value to 60, but when i do it says the the output is wrong. What is the issue with what i did?

Answers (3)

Sai Sri Pathuri
Sai Sri Pathuri on 3 May 2020
You need to connect signal h to the input of switch block
  4 Comments
Oussama Bousken
Oussama Bousken on 9 Nov 2022
It works for me Thank you so much
Harindu Jayarathne
Harindu Jayarathne on 12 Nov 2023
@Arunraddi R Mullur I restarted Matlab and it worked.

Sign in to comment.


J.Rezvani
J.Rezvani on 29 Jan 2023
h signal has to connect to both signal assessment and the middle input port of the switch block. also, the second integrator's initial value is 60.

OM
OM on 26 Jan 2023
Firstly you have to set the initial condition of Integrator 1 to 60 m.
Then you have to set the initial condition of Integrator 2 to -10m.

Tags

Community Treasure Hunt

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

Start Hunting!