I know that I can create a 3D surface graph in MATLAB by doing:
x = linspace(1,10,100); y = linspace(10,20,100); [XY] = meshgrid(x,y); Z = X * Y; surf(X,Y,Z);
But this requires that all nodes of the created height map be lined up. I have a dataset that has arbitrary points (x, y) and height (z). Is there an easy way to build a graph that will generate a surface between points like surf ?
matlab plot 3d
JP.
source share