I want to show how works heuristic algorithm. I have my cost function and i want show every step of algorithm. For example i have cod:
load frankesf = fit([x, y],z,'poly23')subplot(1,2,1)plot(sf)subplot(1,2,2)X=x(10:15)Y=y(10:15)Z=z(10:15)plot3(X,Y,Z,'-mo')grid on
How to show both on one 3D plot?
Best Answer