Simulink Onramp 13.1 Task 4

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

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

Anmol Gurkha
Anmol Gurkha on 9 Sep 2019
Edited: Anmol Gurkha on 9 Sep 2019
Hi Cris,
I really appreciate your response but I have tried the problem over 20x and restarted the program on several occasions but it gives me the same error. I do understand that it may be an issue on my end with understanding the problem than the software itself but its just that I have tried everything from brainstorming myself to even immitating the solution from the see solution as such to no avail.Here is a picture and be rest assured all the parameters have been checked over and over again all values from the integrator value to 0 to the Switch box and its parameters and the Drag constant boxes. Any help on the matter will be appreciatedSimulink Problem.jpg
i can pass this task
Cris LaPierre
Cris LaPierre on 9 Sep 2019
Edited: Cris LaPierre on 9 Sep 2019
Ok, that is very helpful. It looks like you might have a carryover issue from task 1. The output of the switch block (side with one port) needs to be connected to the red dashed arrow in the middle of the page. It looks like you added a new product block instead.
Oh Thank you so much Cris. It worked right away!
I spent hours trying to solve same problem. thank God i came across this answer
Thank you so much i was stuck in this task for hours.
This is not even the only bug like this. I shouldn't have to restart the program multiple times to do ONE simple task.
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

If you copied and pasted to create a new Integrator for the last task, make sure to reset the initial condition from -10 to the default value of 0!
I did this but it doesnt help
Try branching the h signal to the Signal Assesment. Ensure Integrator2 has initial condition of -10.
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

Found my mistake..Thanks everyone
Hige Drag = 0.5*rho*Cd2*A2
What was the mistake that you found.... I am having the exact diagram but it is not working. Any help?
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

Your model looks good to me. Can you click the "Inspect signal in figure window" and compare your signal there?
I might try clicking Reset and then redo this task.
Here's my signal... can you guess what is wrong with what I am doing?
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

Products

Community Treasure Hunt

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

Start Hunting!