create a 3D average plan (or normal) from two 3D plans (or normals)

조회 수: 3 (최근 30일)
Alberto Acri
Alberto Acri 2024년 6월 1일
댓글: Matt J 2024년 6월 3일
How can I determine the average plan knowing the plans of the two attached sets of nodes?
load plan_1_2.mat
figure
plot3(plan_1(:,1),plan_1(:,2),plan_1(:,3),'mo','Markersize',4); % normal 1
hold on
plot3(plan_2(:,1),plan_2(:,2),plan_2(:,3),'go','Markersize',4); % normal 2
hold off
axis equal
xlabel('x')
ylabel('y')
zlabel('z')
grid off
Or, is it possible to create an average normals?

답변 (1개)

Matt J
Matt J 2024년 6월 1일
편집: Matt J 2024년 6월 1일
There is no universally recognized concept of an "average plane". One definition you could adopt is the plane obtained by fitting the union of the green and magenta nodes.
  댓글 수: 1
Matt J
Matt J 2024년 6월 3일
That will produce a 3x1 vector defining a plane, but it's anyone's guess what it means.

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

카테고리

Help CenterFile Exchange에서 Discrete Data Plots에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by