MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice.
[x1,x2] = rollDice();
x1 = 5;
x2 = 2;
6 players like this problem
1 player likes this solution
3 players like this solution