Problem 1550. Can I make a right triangle ?

Input(a) - is vector with any amount of values. Interpreted as legths of sides.


  • 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

55.07% Correct | 44.93% Incorrect
Last solution submitted on Sep 15, 2016

Problem Comments


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more