Problem 1550. Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides.
Output(b):
- Is true if there are any 3 values that can be used to make a right triangle
- Is false if u can't build a right triangle ;(
Solution Stats
Problem Comments
-
1 Comment
David Gines
on 6 Jun 2013
Should [1 0] return an output of true?
Solution Comments
Show commentsProblem Recent Solvers61
Suggested Problems
-
2563 Solvers
-
2485 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
366 Solvers
-
Getting the indices from a vector
9226 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
666 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!