Plotting x vector of fmincon
Mostrar comentarios más antiguos
Dear All,
I am trying to plot the x value of fmincon to show how the transition phase reaches its optimum value.
I will get x(1),x(2),(3),..... x(6)
Each x starts at initial point and reaches to its upper bound or to its lower bound. I would like to plot all the six variables on a single plot to present the transition of all the variables for every iteration.
I tried plotfn with options = optiset('Display', 'iter') it provides bars of the optimum values of variables.
It would also helpful if someone could help me how to save x variables for every iterations, so that i can plot.
Any suggestions are much appreciated.
Thank you,
Best Regards, Sai
Respuesta aceptada
Más respuestas (1)
Veeranki
el 8 de Sept. de 2014
0 votos
Categorías
Más información sobre Choose a Solver en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!