I need to create a 3d plot from an optimizer

조회 수: 2 (최근 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 CenterFile Exchange에서 Get 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