How to find intersection between a line (given by 2 points) and a plane?

1 view (last 30 days)
So I have a plane z = 0 to 1 (at increments of 0.2). I have two points A = (1,0,0) and B = (0,0,1). I need to find the points of intersection of the line and the plane at each value of z.

Answers (1)

Matt J
Matt J on 8 Mar 2021
Edited: Matt J on 8 Mar 2021
Since A and B both lie in the plane z=0, clearly the entire line segment will intersect the plane at z=0 and will not intersect for any other z.
  4 Comments
Devika Waghela
Devika Waghela on 9 Mar 2021
Is this used specifically for this problem statement? Or can this be used even for different points and different ranges for z?

Sign in to comment.

Categories

Find more on Statistics and Machine Learning Toolbox 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!