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

6 次查看(过去 30 天)
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.

类别

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