MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
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.
Input = [ 1 2 3 ];
Output = [ 1 0 1 ];
2 players like this problem