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

167 Solutions

70 Solvers

Last Solution submitted on Mar 14, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers70

Suggested Problems

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!