orthagonal planes and normal vectors
显示 更早的评论
I have three planes:
3x +2y -z =18
3x - 8y -7z = -38
-22 + 18 -30 = -6
And I'd like to find normal vector to those planes, and then chech if these vectors are orthagonal to themselves, then check the if the planes are orthagonal. How can I do this thing? I'd be greateful for any help in this matter.
采纳的回答
更多回答(1 个)
format long;
A=normalize( [3,2,-1; 3,-8,-7;-22,18,-30] ,2,'norm');
If they are orthogonal, this should give the identity matrix, within floating point errors:
A*A.',
Looks like they are!!
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!