Simulink on ramp 13.1 task 5

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 commentaire

Roshan
Roshan le 13 Mai 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.

Connectez-vous pour commenter.

Réponses (2)

Bhavesh Ramkrishna
Bhavesh Ramkrishna le 28 Avr 2023

1 vote

Connect h to Switch Block it will work.:)
Sai Sri Pathuri
Sai Sri Pathuri le 4 Mar 2020

0 votes

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 commentaires

MOHAMED ACHRAF LOUMI
MOHAMED ACHRAF LOUMI le 15 Mar 2020
So what to do exactly to pass this task? because I have the same error and I'm stuck
Sai Sri Pathuri
Sai Sri Pathuri le 16 Mar 2020
Hi, I am sorry about the previous answer. I considered the task 5 of Part 1.
In Part 2 task 5, you need to connect signal 'h' to Signal Assessment block after changing the initial condition.
MOHAMED ACHRAF LOUMI
MOHAMED ACHRAF LOUMI le 16 Mar 2020
Hi! Thank you for your reply.
I did already but still the same problem, here is a picture:
Sai Sri Pathuri
Sai Sri Pathuri le 16 Mar 2020
You also need to connect signal h to the input of switch block
MOHAMED ACHRAF LOUMI
MOHAMED ACHRAF LOUMI le 16 Mar 2020
Thank you very much, it works!
Hi, I also have the problem. I need some help for solving this.Thank you
Arunraddi R Mullur
Arunraddi R Mullur le 17 Juil 2020
Hello,
Even after following everything, Im getting error and unable to pass task 5.
please help!!!!
Adam
Adam le 20 Déc 2023
Modifié(e) : Adam le 20 Déc 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!

Connectez-vous pour commenter.

Commenté :

le 13 Mai 2025

Community Treasure Hunt

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

Start Hunting!

Translated by