Hi, i have a function which is function of a unknown constant ''á''. For each a there is a corresponding curve..i want to search that function curve for a set of ''a'' values which should have maximum peak value...

2 ビュー (過去 30 日間)
Hi, i have a curvature function which is function of a unknown constant ''k''. For each k value, there is a corresponding curve..i want to search k, such that the corresponding function reaches it's maximum bound.
Is there any matlab optimization command to search for k value?
Thank you ...
  2 件のコメント
J. Alex Lee
J. Alex Lee 2020 年 1 月 5 日
Do you already know what the max value of the curve is as a function of k? E.g., is the curve analytical and invertible? If so, pose the problem as a optimization in k of that max value. If not you have 2 numerical tasks, one of identifying the peak value for every k, then searching on k. For the 2nd problem I think fminsearch would work well.

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

採用された回答

John D'Errico
John D'Errico 2020 年 1 月 5 日
This is just a 2-dimensional optimization. fminsearch will suffice.
You have some known function, a function of r, as well as the parameter k. For any value of k, f(r,k) will attain its maximum at some value of r. You want to find the value of k at which f(r,k) attains the maximum possible value.
Just use fminsearch. Allow it to vary both r and k, until it finds the value that maximizes f(r,k). If you have the optimization toolbox, you could use fminunc, or fmincon. But for two parameters, fminsearch should suffice.
  1 件のコメント
tammineni ravi
tammineni ravi 2020 年 1 月 5 日
Thank you , f(r,k) should attain maximum value and mean while it should be with in bounds, in this case curvature should with in 0.1 1\m.

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by