It a good problem, but it needs multiple test cases. Right now, the leading solution just returns a predefined vector with the correct result.
856 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
286 Solvers
Duplicate each element of a vector.
523 Solvers
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
580 Solvers
2991 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!