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?

Answers (1)

Matt J
Matt J on 1 Jun 2024
Edited: Matt J on 1 Jun 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 Comment

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

Sign in to comment.

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 1 Jun 2024

Commented:

on 3 Jun 2024

Community Treasure Hunt

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

Start Hunting!