very elegant way to code like this !
Determine Whether an array is empty
646 Solvers
Make a run-length companion vector
512 Solvers
489 Solvers
Sum the numbers on the main diagonal
453 Solvers
359 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!