I need to create a 3d plot from an optimizer

1 回表示 (過去 30 日間)
Jorge Armando Vazquez
Jorge Armando Vazquez 2021 年 5 月 12 日
編集済み: Jorge Armando Vazquez 2021 年 5 月 13 日
I have this prograsm
par0 = [0.005276, 0.5017, 88.6357];% initial values
fun_objetivo = @(par,pfrac)FunObjetivo(par);
options = optimset('MaxFunEvals',3000,'Display','iter','PlotFcns',@optimplotfval);
%We use here the Nelder-Mead method
par_optimos = fminsearch(fun_objetivo, par0, options);
and I want to create a 3d plot using meshgrid where x=par_optimos(1), y=par_optimos(2) and z the min f(x) in that stept of the iteration , but I don´t know how to do it.
Can someone please tell how to do it?
  1 件のコメント
Jorge Armando Vazquez
Jorge Armando Vazquez 2021 年 5 月 12 日
I want a plot with a format similar to the one in this link
but I don´t understand the procedure to use with the optimizer. I really need help

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by