photo

Yi-Kai Peng


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 0 answers | 0

0

answers

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 0

| accepted

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

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 1 answer | 1

1

answer