Simulink Onramp 13.1 Task 4

30 views (last 30 days)
Anmol Gurkha
Anmol Gurkha on 9 Sep 2019
Commented: Cris LaPierre on 16 May 2025
Hello Matlab and Simulink Users,
I am stranded on 13.1 Peregrine Falcon Dive Part 2 Task 4. I just cannot seem to get past it. Any help regarding it will be appreciated.Even the solution does not provide the desired output signal.
Thanks
  1 Comment
Tresor Kahilu Wa Kahilu
Tresor Kahilu Wa Kahilu on 17 Oct 2019
Task 4 is where you add the substract block?
Can you please give more details are to what seem to be your issue?

Sign in to comment.

Accepted Answer

Cris LaPierre
Cris LaPierre on 9 Sep 2019
Just went through this task. It works for me. First suggestion would be to restart MATLAB and see if the behavior continues. If you still are getting errors, are your low and high drag terms connected to the correct ports? Have you set the parameters of the switch?
Perhaps add an image of your model so we can see.
  8 Comments
Luke
Luke on 19 Jan 2023
This is not even the only bug like this. I shouldn't have to restart the program multiple times to do ONE simple task.
Walter Roberson
Walter Roberson on 11 Feb 2023
Varshan Prabu comments to @Cris LaPierre:
Thanks a lot. It worked

Sign in to comment.

More Answers (3)

Walid Al Hamadi
Walid Al Hamadi on 11 Jun 2020
i cannot do the task 5
13.1 Project - Peregrine Falcon Dive: (3/3) Part 2
i change the intioal condition but its gives me error.
thansks
  5 Comments
Jaslynn
Jaslynn on 16 Oct 2024
Try branching the h signal to the Signal Assesment. Ensure Integrator2 has initial condition of -10.
Alok
Alok on 6 Apr 2025
please found error

Sign in to comment.


S N Rao
S N Rao on 1 Apr 2021
I am also facing same issue.. Can anyone help me out?
  4 Comments
Atri
Atri on 15 May 2025
What was the mistake that you found.... I am having the exact diagram but it is not working. Any help?
Cris LaPierre
Cris LaPierre on 16 May 2025
Exactly the same? If so, check your equation for high drag. It should be using Cd2, not Cd1.

Sign in to comment.


Alice
Alice on 6 Sep 2023
I have issues with task 4 as well... Can you spot the issue?
  3 Comments
Alice
Alice on 8 Sep 2023
Here's my signal... can you guess what is wrong with what I am doing?
Cris LaPierre
Cris LaPierre on 20 Sep 2023
Sorry, I didn't get notified you'd replied. I think I figured out why you are getting this incorrect. I believe you copy/pasted the integrator that was already in the model rather than adding a brand new one. The one already in the model sets an initial condition that you do not want on your second integrator.
Please either set the initial condition to 0 in the new integrator block, or delete and add a new one from the library.

Sign in to comment.

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!