MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?
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 ];
4 players like this problem