Decision variable and function to be minimised are not directly related

1 回表示 (過去 30 日間)
K Chiranjeevi Reddy
K Chiranjeevi Reddy 2015 年 4 月 30 日
編集済み: Matt J 2015 年 4 月 30 日
Hi,
Is there anyone to help me on this,
I have Five variables(Bounds well known). These five variables after plugging into my model will generate a curve, and upon processing obtained curve,another curve is obtained which is to be matched with experimental curve i.e. I have to minimise error between experimental and analytical curve. So here Decision variables are not directly effecting fitness function.
As per my understanding upon going through matlab help, decision variable should be present in fitness function which doesn't suit to my problem.
Is there any way to optimise using solvers available in matlab?
  1 件のコメント
Brendan Hamm
Brendan Hamm 2015 年 4 月 30 日
Well if you are trying to minimized the error between the two curves it would appear that you objective function would be something of the form:
min_x { |f(x) - g(x)|||_2 }, i.e. to minimize the norm of the 2 curves. Therefore both curves play a role. If this is not the case, then it is not clear from your question what you mean.

サインインしてコメントする。

採用された回答

Matt J
Matt J 2015 年 4 月 30 日
編集済み: Matt J 2015 年 4 月 30 日
Seems like a straightforward application of lsqcurvefit() to me. It doesn't matter whether your final curve has a closed form formula in terms of the decision variables. The requirement of lsqcurvefit is that you provide a handle of the model function F(theta,x) and that F is differentiable in the decision variables, theta. It doesn't care how F() is implemented internally.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by