Hi! I have a vector lets say x=1:81 and the same for y and z and I would like to plot it with surf. My problem is that I need to reorganise my vectors to grids so I tried meshgrid but I don't now if i understood it, becouse i would like a grid that has the size 9×9 but I got one with 81×81 am I doing something wrong or is it some other way to solve this problem?
MATLAB: 3d plot
3d plotsmeshgrid
Related Question
- SurfC with 4 vectors
- Contour with discrete (x,y) and continuous z
- Simple Question: How to graph certain surfaces depending on the Z value
- WriteaMALTABscriptfileforplottingthebelowsurfacesbycoloringthesurfacewithacolormap, appropriately naming the axis and titling the plot. 1. z = sin(x+y)/ x^2+y^2 for (x,y) ∈ [−2,2]×[1,3]
Best Answer