Problem 45313. Find the shortest distance between a point and a straight line.
Given the Cartesian coordinates of three points A, B and C (in a flat Euclidean space), find the shortest distance between the straight line through A and B, and the point C.
Assumption:
A and B do not coincide.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers15
Suggested Problems
-
2541 Solvers
-
Sum the entries of each column of a matrix which satisfy a logical condition.
163 Solvers
-
Generate N equally spaced intervals between -L and L
880 Solvers
-
Find and replaces spaces from a input string with *
164 Solvers
-
Side of an equilateral triangle
6371 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!