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

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?

Réponses (1)

Matt J
Matt J le 1 Juin 2024
Modifié(e) : Matt J le 1 Juin 2024
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 commentaire

That will produce a 3x1 vector defining a plane, but it's anyone's guess what it means.

Connectez-vous pour commenter.

Produits

Version

R2021b

Commenté :

le 3 Juin 2024

Community Treasure Hunt

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

Start Hunting!

Translated by