This solution is outdated. To rescore this solution, sign in.
Suggested Problems
-
Return the largest number that is adjacent to a zero
5407 Solvers
-
Flip the main diagonal of a matrix
838 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
484 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
11984 Solvers
-
1510 Solvers
More from this Author30
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!