I need to create a 3d plot from an optimizer

2 Ansichten (letzte 30 Tage)
Jorge Armando Vazquez
Jorge Armando Vazquez am 12 Mai 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 Kommentar
Jorge Armando Vazquez
Jorge Armando Vazquez am 12 Mai 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by