Problem 450. What is the distance from point P(x,y) to the line Ax + By + C = 0?
Solution Stats
Problem Comments
-
2 Comments
Claudio Gelmi
on 23 Jan 2013
There is a mistake with the solution of Test #3. Ans should be 7.40. Please check.
Nicolas Douillet
on 29 Nov 2022
I confirm this error.
Solution Comments
-
1 Comment
Alfonso Nieto-Castanon
on 25 Jan 2013
note: this is the wrong formula (x=0;y=12345;A=0;B=1;C=0 should return 12345, not 1...)
-
1 Comment
Peter Wittenberg
on 2 Sep 2012
Come on, Amitava - you don't need to game the solution.
Problem Recent Solvers339
Suggested Problems
-
2785 Solvers
-
880 Solvers
-
Multiples of a Number in a Given Range
491 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
476 Solvers
-
580 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!