photo

Yi-Kai Peng


Last seen: circa un anno fa Attivo dal 2023

Followers: 0   Following: 0

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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...

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


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,...

oltre un anno fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre un anno fa | 1 risposta | 0

1

risposta

Risposto
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 ...

oltre un anno fa | 0

| accettato

Domanda


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 .*...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre un anno fa | 1 risposta | 1

1

risposta