% this problem is not guaranteed solvable
isequal(spdiags([eye(5) zeros(5)]),spdiags(eye(5)))
716 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
799 Solvers
1058 Solvers
Getting the indices from a vector
3451 Solvers
433 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!