How to graph perpendicular lines?

Hello good morning, someone knows how I can graph a line perpendicular to another. But that is located until the end of the line, that forms an L.

Answers (1)

madhan ravi
madhan ravi on 13 Oct 2018
Edited: madhan ravi on 13 Oct 2018

4 Comments

How does it work? what is the use of each variable?
It draws a line when you mention the starting point of x and you determine the starting points of the line and the ending point as well
It's clear and understood and I have modified it to suit my code very well. Thank you! Appreciated!

Sign in to comment.

Categories

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

Products

Release

R2015a

Community Treasure Hunt

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

Start Hunting!