I need to create a 3d plot from an optimizer

2 visualizaciones (últimos 30 días)
Jorge Armando Vazquez
Jorge Armando Vazquez el 12 de Mayo de 2021
Editada: Jorge Armando Vazquez el 13 de Mayo de 2021
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 comentario
Jorge Armando Vazquez
Jorge Armando Vazquez el 12 de Mayo de 2021
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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with Optimization Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by