TASK 5 PROBLEM SIMULINK ONRAMP

Answers (4)

Mertcan Oztas
Mertcan Oztas on 4 Aug 2022
You also need to connect the output signal "h" to the middle input of the switch.
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.

VBBV
VBBV on 23 Jan 2022
Set the initial condition source to external and try
Vasudev
Vasudev on 25 Sep 2025
I found restarting the Simulink example also works

Categories

Asked:

on 23 Jan 2022

Answered:

on 25 Sep 2025

Community Treasure Hunt

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

Start Hunting!