How to use a single value from a multi-variable optimization result?

I used this function to optimize a 5 variable function:
[X, fval] = fmincon(fitnessfcn, x0, [], [], [], [], [0.01,1,300 + 273.15, 8, 10*3.600], [10, 18.3,1200,20,50*3.600], nonlconi);
Now, i want to use results obtained from fmincon in other calculations. How can I do that?

4 commentaires

Torsten
Torsten le 14 Mar 2018
Modifié(e) : Torsten le 14 Mar 2018
X(1),X(2),X(3),X(4) and X(5) are the optimal values of the solution variables which can be passed to other calculations. What exactly is the problem ?
The X(1),X(2),X(3),X(4) and X(5) obtained here, I need to use them in further calculations, how do i do that?
By passing their values to the other calculation.

Réponses (0)

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by