Simulink on ramp 13.1 task 5

24 views (last 30 days)
Hamed Zaki
Hamed Zaki on 1 Mar 2020
Commented: Roshan on 13 May 2025
Hello Simulink/Matlab users. Im stuck on 13.1 Part 2 task 5. I changed the integrator block intial condition to 60 but it didnt work. Anyone who help will be highly appreciated.
  1 Comment
Roshan
Roshan on 13 May 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.

Sign in to comment.

Answers (2)

Sai Sri Pathuri
Sai Sri Pathuri on 4 Mar 2020
The task is designed with an initial condition of '0' (you can see the Signal requirement in above diagram). So, an initial condition of 60 is giving an error due to mismatch of generated signal with required signal.
  9 Comments
Arunraddi R Mullur
Arunraddi R Mullur on 17 Jul 2020
Hello,
Even after following everything, Im getting error and unable to pass task 5.
please help!!!!
Adam
Adam on 20 Dec 2023
Edited: Adam on 20 Dec 2023
I got the same issue. Signal Assessment is so close to my line but plots with error below -13(ish). I think there is a bug as I've done as instructed.
To progress I had to fudge my result. 2 integrators, one initial condition set to 60 (m) and one set to 59.8 (m)
I then built a switch to change the output when the value hit -10m. It makes the very fine adjustment needed to continue with the on ramp!

Sign in to comment.


Bhavesh Ramkrishna
Bhavesh Ramkrishna on 28 Apr 2023
Connect h to Switch Block it will work.:)

Community Treasure Hunt

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

Start Hunting!