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
Solution Comments
Show comments
Loading...
Problem Recent Solvers70
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53961 Solvers
-
380 Solvers
-
07 - Common functions and indexing 5
430 Solvers
-
Add a row of zeros on top of a matrix
269 Solvers
-
431 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!
Should [1 0] return an output of true?