Community Profile

photo

Tao


Delft University of Technology

Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How to write Fmincon when I have two "to be optimized variables"?
I have two variables which I'm going to use Fmincon to optimize. Both of the variables are changing with time. I write Fmincon a...

6 years ago | 1 answer | 0

1

answer

Question


Is the constraints in fmincon always held during the optimization?
I used fmincon to solve a nonlinear constraint optimization problem. In the constraint, I have both linear and nonlinear equalit...

8 years ago | 1 answer | 0

1

answer

Question


When using Fmincon, how to avoid using "max", "if-else-end" in the constraints?
I have some functions which will be called by the constraints, for example: mx = 1.4 - 1.1*10^(-4)*Jz - 0.2*10^(-8)*Jz^2; ...

8 years ago | 1 answer | 0

1

answer

Question


How to derive the state-space model in which the second derivative of the output of the system is needed?
Dear all: My transfer function is: Y/U = (a1s+a0)/(b4s^4+b3s^3+b2s^2+b1s); s is the laplace symbol, U is the single input,...

8 years ago | 1 answer | 0

1

answer

Question


Symbolic toolbox doesn't work with abs() and max()?
I am using fmincon dealing with a nonlinear constraint optimization problem, one function contain abs(a) and another function co...

9 years ago | 1 answer | 0

1

answer

Question


Which curve fitting is suitable for "two boundary" question?
<</matlabcentral/answers/uploaded_files/31877/Untitled.jpg>> I want to fit a curve according to the above image. First, I wan...

9 years ago | 0 answers | 0

0

answers

Question


fmincon violates my constraints?
To be simple, my constraint function is like below: function [ c, ceq ] = ctr( x, a, b) [F] = f(x, a, b); c(1) = -F; ...

9 years ago | 0 answers | 0

0

answers

Question


Can MAD of TOMLAB work alone to provide automatic differentiation to Fmincon of MATLAB?
I am using fmincon of MATLAB with sqp algorithm to deal with a constraint nonlinear optimization problem. Since in my constraint...

9 years ago | 0 answers | 0

0

answers

Question


SQP algorithm crashes showing "The number of output should match the number of inputs"
I used fmincon with symbolic toolbox providing gradient and Jacobian of my objective and constraint functions respectively, when...

9 years ago | 0 answers | 0

0

answers

Question


Can symbolic tool box transfer max(f(x), y) into symbolic variable?
I was using fmincon for nonlinear optimization, but When I tried to use MATLAB symbolic toolbox to provide joccobian of my const...

9 years ago | 1 answer | 0

1

answer

Question


How to pass parameter to symbolic objective and constraint functions?
I'm using fmincon to do nonlinear optimization. In order to make program more robust and faster, I used symbolic toolbox to gene...

9 years ago | 0 answers | 0

0

answers

Question


How to pass extra parameter as a symbolic variable to objective and constraint functions?
I have an objective function like this: syms State1 State2 State3 State4 State5 State6 State7 State8 State9 State10 State11...

9 years ago | 1 answer | 0

1

answer

Question


How to use gradient and Hessian in optimization problem when objective and constraint functions contain variables without analytic expression with respect to states?
I've write a code using Fmincon to minimize my objective function. But I found my results highly depend on my initial guess for ...

9 years ago | 1 answer | 0

1

answer

Question


How to write ode45 to solve differential equations with changing parameters
I am going to solve the differential equations: dX = f(X, U, P), X is system states, U is control inputs which is known, and ...

9 years ago | 1 answer | 0

1

answer

Question


How to use fmincon effctively to calculate time-changing control inputs?
I have a dynamic system which is described by differential equations: dot_X = f(X, U, P) % dot_ means dx/dt X is state vec...

9 years ago | 1 answer | 0

1

answer

Question


How to constrain a vector when using fmincon?
I wrote a fmincon to calculate the optimal inputs: [ In_opt ] = fmincon( @( Inputs_vector )obj( other parameters_1, Inputs_...

9 years ago | 3 answers | 0

3

answers

Question


How to use matlab to solve ordinary differential equations with coupled intermediate variables inside?
Dear all: I have a problem which can be simplified to the statement below (the real equations and functions are much more com...

9 years ago | 1 answer | 0

1

answer

Question


How to generate a total random 6 by 6 Latin Square?
I have a question about 6 by 6 Latin Square, right now I have a Latin Square like this: 6 1 4 2 3 5 3 ...

10 years ago | 1 answer | 0

1

answer