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 个评论

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.

回答(0 个)

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by