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.
564 Solvers
Renaming a field in a structure array
737 Solvers
Omit columns averages from a matrix
529 Solvers
96 Solvers
Solve the set of simultaneous linear equations
277 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!