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 件のコメント

Torsten
Torsten 2018 年 3 月 14 日
編集済み: Torsten 2018 年 3 月 14 日
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 ?
Devdatt Thengdi
Devdatt Thengdi 2018 年 3 月 14 日
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?
Torsten
Torsten 2018 年 3 月 14 日
By passing their values to the other calculation.
Devdatt Thengdi
Devdatt Thengdi 2018 年 3 月 14 日
Okay. Thanks.

回答 (0 件)

この質問は閉じられています。

質問済み:

2018 年 3 月 14 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by