필터 지우기
필터 지우기

How to make mesh/matrix form points coordinate?

조회 수: 2 (최근 30일)
Marcin Zmuda
Marcin Zmuda 2021년 5월 13일
댓글: Marcin Zmuda 2021년 5월 13일
Hello
I have a four points with [x y z] global coordinates:
A=[0 0 0];
B=[10 0 0];
C=[10 10 1];
D=[0 10 0];
X vector for left side is:
X_L=[A(:,1):1:B(:,1)]
X vector for right side is:
X_R=[D(:,1):1:C(:,1)]
Y vector for bottom is:
Y_B=[A(:,2):1:D(:,2)]
Y vector for top is:
Y_T=[B(:,2):1:C(:,2)]
How to create mesh/matrix with z global value?
In future I want to use more points.
  댓글 수: 4
Scott MacKenzie
Scott MacKenzie 2021년 5월 13일
It might help if you post all your code together, including your use of the mesh and meshgrid functions that are not working for you.
Marcin Zmuda
Marcin Zmuda 2021년 5월 13일
I solve problem with using 2-D look up table. This solution allow to use points coordinates.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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