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

조회 수: 2 (최근 30일)
j gjemso
j gjemso 2016년 11월 23일
편집: j gjemso 2017년 2월 10일
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

답변 (1개)

Star Strider
Star Strider 2016년 11월 23일
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.

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by