Suggested Problems
-
Sum the elements in either diagonal of a square matrix
213 Solvers
-
185 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1143 Solvers
-
1028 Solvers
-
Create an array (n,n) where only diagonal elements are '1' and others are '0'
84 Solvers
More from this Author92
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!