TASK 5 PROBLEM SIMULINK ONRAMP

Answers (3)

Mertcan Oztas
Mertcan Oztas on 4 Aug 2022
You also need to connect the output signal "h" to the middle input of the switch.

6 Comments

Thank you!
gracias señor
thank you
Thank You so much!!! :)
悟
on 8 Apr 2026 at 8:38
Thank you so much!!!

Sign in to comment.

Adam
Adam on 20 Dec 2023
Edited: Adam on 20 Dec 2023
I got the issue of Signal Assessment being 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!

4 Comments

Thank you very much
Couldn't get this to work. I'm stuck with the signal refusing to drop below 0.
try 59.81 (m) if 59.8 (m) doesnt work
just use 60 for both blocks.

Sign in to comment.

Vasudev
Vasudev on 25 Sep 2025
I found restarting the Simulink example also works

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 23 Jan 2022

Commented:

悟
on 8 Apr 2026 at 8:38

Community Treasure Hunt

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

Start Hunting!