infinite plane passing through four points

7 vues (au cours des 30 derniers jours)
Alberto Acri
Alberto Acri le 5 Déc 2020
Commenté : Alberto Acri le 8 Déc 2020
Hi everyone, do you know how to create an "infinite" plane that passes through 4 points? I started this way but I don't know how to proceed:
fv = openfig('NAME');
p1=[3.089 42.22 -15.06];
p2=[2.728 39.61 -12.88];
p3=[3.329 24.87 -33.42];
p4=[0.8426 33.42 -42.55];
h=patch('Faces',1:4,'Vertices',[p1;p2;p3;p4]);
set(h,'FaceColor','r','EdgeColor','w','LineWidth',1,'FaceAlpha',0.1)
axis equal
view([30 30])
xlabel('x','FontSize',10)
ylabel('y','FontSize',10)
zlabel('z','FontSize',10)
thanks to all

Réponses (1)

John D'Errico
John D'Errico le 5 Déc 2020
P=[3.089 42.22 -15.06;
2.728 39.61 -12.88;
3.329 24.87 -33.42;
0.8426 33.42 -42.55];
svd(P - P(1,:))
ans = 3×1
37.4569 9.1715 0.9556
Unless that third number was quite small, the 4 points don't all lie in one plane. It is too large by roughly a factor of 100, if we assume those numbers were rounded to 4 decimal places. So you cannot form an infinite plane.
You might decide to find some surface that passes through all 4 points, but there are infinitely many such surfaces.
Regardless, before you decide to plot some surface, you will need to find the relationship that describes that surface.
  1 commentaire
Alberto Acri
Alberto Acri le 8 Déc 2020
but is it possible to create a "finished" plan that passes through those 4 points?

Connectez-vous pour commenter.

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by