How to draw a perpendicular to a line from a point?

9 views (last 30 days)
I need to draw a perpendicular line from a point (x1,y1) to a line. How to do that?

Accepted Answer

Star Strider
Star Strider on 3 Mar 2019
I showed you how to plot a line starting with any point and for any angle and length of line in How to draw a tangent using a point and an angle? (link).

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!