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 ];

105 correct solutions
115 incorrect solutions

Last solution submitted on Dec 24, 2014

2 players like this problem