How do I find the line representing the intersection of two planes?
1 回表示 (過去 30 日間)
古いコメントを表示
So basically I have two planes and need to find the equation of the straight line which is the intersection between the two. I'm having trouble finding the equation of said planes and then equaling them to each other to find the equation of the straight line. I do know the coordinates of three points on each one of the planes. Any help? Here are the points:
% Plane 1
A = [1 1 1];
B = [2 -3 5];
C = [-7 2 1];
% Plane 2
D = [0 5 3];
E = [8 -4 2];
F = [5 4 1];
0 件のコメント
採用された回答
Matt J
2021 年 4 月 9 日
編集済み: Matt J
2021 年 4 月 9 日
HINT: You can get the normals to the planes using cross()
% Plane 1
A = [1 1 1];
B = [2 -3 5];
C = [-7 2 1];
% Plane 2
D = [0 5 3];
E = [8 -4 2];
F = [5 4 1];
normal1=cross(B-A,C-A)
normal2=cross(E-D,F-D)
5 件のコメント
John D'Errico
2022 年 11 月 10 日
@Hussain Bukhari - this is clearly a homework problem. And we try not to do homework assignments for students on Answers. Doing that does not help the student, beyond giving them an undeservedly good grade on their current homework. So @Matt J pointed the student in the right direction, but then stopped.
Hussain Bukhari
2022 年 11 月 10 日
@John D'Errico, the response seemed quite abrupt so I was a little flummoxed.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!