optimplotx — Plot the value of the parameters of an optimization algorithm
optimplotx ( x , optimValues , state )
This function creates and updates a plot of the value of the parameters depending on the number of iterations. It is a pre-defined plot function which should be used as an option of the "PlotFcns" option.