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 Solvers63
Suggested Problems
-
3711 Solvers
-
How to find the position of an element in a vector without using the find function
2748 Solvers
-
Is my wife right? Now with even more wrong husband
1325 Solvers
-
457 Solvers
-
MATCH THE STRINGS (2 CHAR) very easy
292 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!