Calculating Equation of a Line with Known Angle Relative to Other Line

3 views (last 30 days)
Hello, I'm struggling to get the equation of a line relative to another line. Here is an image to visualize the problem:
I want 'x' to equal to something around 33 degrees and 'y' to be around 55 degrees. I know the slopes for the orange lines connecting the three dots and the angles of the blue and red lines relative to the orange lines.
I'm using MATLAB 2018b. Thank you!

Answers (1)

Bandar on 13 Oct 2020
Edited: Bandar on 13 Oct 2020
where m is the slope of a line. In your case, the angle and one of the slop of the intersected lines are known.


Find more on Coordinate Transformations and Trajectories 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!

Translated by