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 Kommentar

Tresor Kahilu Wa Kahilu
Tresor Kahilu Wa Kahilu am 17 Okt. 2019
Task 4 is where you add the substract block?
Can you please give more details are to what seem to be your issue?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 9 Sep. 2019

2 Stimmen

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 Kommentare

Anmol Gurkha
Anmol Gurkha am 9 Sep. 2019
Bearbeitet: Anmol Gurkha am 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
Sorapob prompraseat
Sorapob prompraseat am 9 Sep. 2019
Bearbeitet: Sorapob prompraseat am 9 Sep. 2019
i can pass this task
Cris LaPierre
Cris LaPierre am 9 Sep. 2019
Bearbeitet: Cris LaPierre am 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.
Anmol Gurkha
Anmol Gurkha am 9 Sep. 2019
Oh Thank you so much Cris. It worked right away!
Agbaeze Ejem
Agbaeze Ejem am 28 Feb. 2020
I spent hours trying to solve same problem. thank God i came across this answer
Aniket Mangesh Londhe
Aniket Mangesh Londhe am 1 Okt. 2020
Thank you so much i was stuck in this task for hours.
Luke
Luke am 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 am 11 Feb. 2023
Varshan Prabu comments to @Cris LaPierre:
Thanks a lot. It worked

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (3)

Walid Al Hamadi
Walid Al Hamadi am 11 Jun. 2020

0 Stimmen

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 Kommentare

Ioannis Christodoulakis
Ioannis Christodoulakis am 29 Aug. 2020
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!
Faiz Sehic
Faiz Sehic am 20 Okt. 2021
I did this but it doesnt help
Jaslynn
Jaslynn am 16 Okt. 2024
Try branching the h signal to the Signal Assesment. Ensure Integrator2 has initial condition of -10.
Alok
Alok am 6 Apr. 2025
please found error

Melden Sie sich an, um zu kommentieren.

S N Rao
S N Rao am 1 Apr. 2021

0 Stimmen

I am also facing same issue.. Can anyone help me out?

4 Kommentare

S N Rao
S N Rao am 1 Apr. 2021
Found my mistake..Thanks everyone
Pawwthida Chanlila
Pawwthida Chanlila am 21 Okt. 2022
Hige Drag = 0.5*rho*Cd2*A2
Atri
Atri am 15 Mai 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 am 16 Mai 2025
Exactly the same? If so, check your equation for high drag. It should be using Cd2, not Cd1.

Melden Sie sich an, um zu kommentieren.

Alice
Alice am 6 Sep. 2023

0 Stimmen

I have issues with task 4 as well... Can you spot the issue?

3 Kommentare

Cris LaPierre
Cris LaPierre am 6 Sep. 2023
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.
Alice
Alice am 8 Sep. 2023
Here's my signal... can you guess what is wrong with what I am doing?
Cris LaPierre
Cris LaPierre am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by