Simulink Onramp 13.1 Task 5

14 visualizzazioni (ultimi 30 giorni)
David Nicholson
David Nicholson il 3 Mag 2020
Risposto: Roshan il 13 Mag 2025
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?

Risposte (4)

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

Accedi per commentare.


J.Rezvani
J.Rezvani il 29 Gen 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 il 26 Gen 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.

Roshan
Roshan il 13 Mag 2025
For new learners: For the task 5, the stop time is 10, check whether you have entered exactly 10 to trace everything as per the requirement of the task. Also dont't forget to connect h to the signal requirement.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by