Problem 450. What is the distance from point P(x,y) to the line Ax + By + C = 0?
Solution Stats
Problem Comments
-
1 Comment
Claudio Gelmi
on 23 Jan 2013
There is a mistake with the solution of Test #3. Ans should be 7.40. Please check.
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 Solvers318
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
4859 Solvers
-
2337 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
2278 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
678 Solvers
-
Sum of odd numbers in a matrix
402 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!