Sorry, I shouldn't have made this trivial change - I don't like not writing to a variable!
I like this solution. It shows the basic MATLAB creativity I was looking for!
1643 Solvers
192 Solvers
Relative ratio of "1" in binary number
435 Solvers
191 Solvers
192 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!