Plotting the ResultWhen a discrete equivalent has been found and/or a control law has been computed it is nice to be able to visualise the result. For this purpose two plot functions are included in the toolbox.
Plotting and Simulation
%de is a discrete equivalent of the prepared simplex s and ct is the control parameters for exiting facet 2. %plot the discrete equivalent marking facet 2 as exit h=plotdisceq(s,de,2); %plot a monte-carlo simulation of the control to exit facet 2 %Note that this is plottet on top of the discrete equivalent plotmcsim(s,ct,h); |