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

Learn moreOpportunities for recent engineering grads.

Apply Today**Description:**

Determine if the elements of an input array are triangle numbers and return the result as an array with the same dimensions as the input.

**Example:**

Input = [ 1 2 3 ]; Output = [ 1 0 1 ];

93 correct solutions
102 incorrect solutions

Last solution submitted on Jul 08, 2014

2 players like this problem