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
-
Find state names that end with the letter A
1198 Solvers
-
How to find the position of an element in a vector without using the find function
2823 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2083 Solvers
-
989 Solvers
-
Put Two 1D matrices into one 1D matrix
142 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?