How can I draw a perpendicular line at the middle of another given line in 3D ?

2 ビュー (過去 30 日間)
Abdulbagi Mohammed
Abdulbagi Mohammed 2022 年 3 月 8 日
回答済み: Benjamin Thompson 2022 年 3 月 8 日
I have three points on a line (X1,Y1,Z1) , (X2,Y2.Z2) and the middle point (Xm,Ym,Zm), I want to draw a line perpendicular to the given line at the middle point

回答 (1 件)

Benjamin Thompson
Benjamin Thompson 2022 年 3 月 8 日
There is actually a plane that is penpendicular to a line in 3D space. You can follow Gram-Schmidt to identify two perpendicular vectors that define the plane. Any linear combination of those two vectors is a line perpendicular to your line.

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by