photo

Yi-Kai Peng


Last seen: 9 mois il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Unexpected flat surface with surf command
I have two parallel lines in a 3D space. I use the following code to create a curved surface which goes though all lines: % Ite...

10 mois il y a | 1 réponse | 0

1

réponse

Question


Terminating the external program with system command.
Hello, I am running XFOIL inside the fmincon function. However, xfoil is unstable in some cases. It freezes and MATLAB hangs th...

11 mois il y a | 2 réponses | 0

2

réponses

Question


Fmincon error "Provided objective gradient does not have the correct number of elements."
Hello, I am optimizing my propeller design by fmincon function with sqp algorithm. In order to decrease the computational cost,...

12 mois il y a | 1 réponse | 0

0

réponse

Question


Get the same value when using Integral2 function
I am using integral2 function to calculate the double integral. The source code is shown as follows: %% Calculate the drag powe...

12 mois il y a | 1 réponse | 0

1

réponse

Réponse apportée
Error of "Integrand output size does not match the input size."
Turns out I didn't assign the correct input to the function... It should be bl_induced = @(v_induced ,z) instead of bl_induced ...

12 mois il y a | 0

| A accepté

Question


Error of "Integrand output size does not match the input size."
Hello, I am trying to make a double integral over two equtions, respectively. The equations are as following: v_induced = u .*...

12 mois il y a | 2 réponses | 0

2

réponses

Question


fmincon sometimes returns "incorrect number of elements of objective gradient" error.
Hello everyone, This is my first time asking question on the forum. I am using the fmincon function to optimize my propeller d...

environ un an il y a | 1 réponse | 1

1

réponse