Perpendicular Line to a given line forming a T-shape

Given any two points, two other points can be constructed forming a T shape
87 Downloads
Updated 28 Feb 2018

View License

Given any two points, this function calculates two other points that lie along a line which is perpendicular to the line joining the given points. If these two lines are made to intersect at the first given point, we get a T-shape. This is a simple trivial function and the title picture illustrates everything. The perpendicular line is found by elementary mathematics (m1m2 = -1).

Cite As

Sathyanarayan Rao (2024). Perpendicular Line to a given line forming a T-shape (https://www.mathworks.com/matlabcentral/fileexchange/66240-perpendicular-line-to-a-given-line-forming-a-t-shape), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Title corrected