% this problem is not guaranteed solvable
isequal(spdiags([eye(5) zeros(5)]),spdiags(eye(5)))
6063 Solvers
Find the longest sequence of 1's in a binary sequence.
3369 Solvers
495 Solvers
Back to basics 8 - Matrix Diagonals
781 Solvers
232 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!