how to plot create z-matrix from x,y,z cordinates
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I'm just new to Matlab. I wish to plot the surface contour plot with the x, y, z coordinate having 1024 values. could anyone help me out with it .....
0 comentarios
Respuestas (2)
Star Strider
el 12 de Mayo de 2016
If your ‘x, y, z coordinate having 1024 values’ are already 2D matrices of the same size, each with 1024 elements, you can generate a surface and contour plot with:
surfc(x, y, z)
2 comentarios
Star Strider
el 13 de Mayo de 2016
It depends on how your data are organised. Even though they’re vectors, they could actually be gridded.
I would plot your data as:
stem3(x, y, z)
to see what your data look like. If they appear to be gridded, you may only need to reshape the vectors into matrices to use the surf function.
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!