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

Learn moreOpportunities for recent engineering grads.

Apply TodayInput(n) is positive integer number

Output(r) is (number of "1" in binary input) / (number of bits).

Example:

- n=0; r=0
- n=1; r=1
- n=2; r=0.5

70 correct solutions
36 incorrect solutions

Last solution submitted on Apr 05, 2016

1 player likes this problem