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 Solvers69
Suggested Problems
-
4772 Solvers
-
Project Euler: Problem 10, Sum of Primes
2089 Solvers
-
Numbers with prime factors 2, 3 and 5.
681 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
361 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?