How can I draw a perpendicular line at the middle of another given line in 3D ?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/919114/image.png)
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
0 Commenti
Risposte (1)
Benjamin Thompson
il 8 Mar 2022
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.
0 Commenti
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!