How can I plot a surface (plate) from X,Y,Z data that looks like this:

2 visualizaciones (últimos 30 días)
j gjemso
j gjemso el 23 de Nov. de 2016
Editada: j gjemso el 10 de Feb. de 2017
x1 x2 x3 x4 x5...x(n)
y1 z1 z2 z3 z4 z5...z(n)
y2 z6 z7 z8 z9 z10..z(n)
y3 ... ... ... ...
y4 ... .. ... ... ..
y5 ... ... ... ... ...
y(m) ... ... ... .. etc

Respuestas (1)

Star Strider
Star Strider el 23 de Nov. de 2016
The ‘X’ and ‘Y’ matrices (and you will need to define them as matrices) you can create with the meshgrid function. Then use surf or mesh (and their friends surfc and meshc) or contour and its friends to create the sort of 3D plot you want.

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!

Translated by