Perpendicular Line to a given line forming a T-shape
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Title corrected |