I can't get the last three cases to work out. I've checked the answers a couple of different ways. I still get 26 1s in the binary for 10^100. Is there a defect in the solutions offered?
The test cases are correct. In case you are using dec2bin, it is subject to loss of significance.
1057 Solvers
middleAsColumn: Return all but first and last element as a column vector
393 Solvers
211 Solvers
Find the elements of a matrix according to a defined property.
73 Solvers
Given a matrix, swap the 2nd & 3rd columns
535 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!