Im new in matlab programming and I have small issue.
I want to draw a plot 3d of Euclidean distance function for 2 coordinates, like in this picture below:
Could you help me with the source code? How I can draw this plot? My first thoughts was wrong:
[A] = meshgrid(-100:.5:100, -100:.5:100);
D1 = bwdist(A);
figure
surf(double(A), double(D1))