MATLAB: SURF 2D. How is possible. surf How is that SURF makes 3D plots of 2D data? What data is suited for this? Newbie alert 🙂 Best Answer MATLAB help is great.doc surfQuote: surf(Z) creates a three-dimensional shaded surface from the z components in matrix Z, using x = 1:n and y = 1:m, where [m,n] = size(Z).Btw, plot does the same thing:Y = sin(1:10);plot(Y) % 1D data, 2D plot using the index of the data as missing dimension Related SolutionsMATLAB: Make Boxes on Surface in 3D Plot A = rand(10,5,3);A = sum(A);A = squeeze(A);surf(A,'LineWidth',2) MATLAB: Dicretization from countour nodes 2D. https://www.mathworks.com/matlabcentral/fileexchange/41454-grid-of-points-within-a-polygon Related Question3D plot helpProjection of 3D plot onto 2D.How to get a slice plot from a 3d surface plot for a particular Z value3D plane in MATLABSlice plot gives black surfaces
Best Answer