This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Isktaine
on 8 Aug 2012
':' is superfluous but does mean it will work on matrices, not just vectors.
Suggested Problems
-
Find the sum of the elements in the "second" diagonal
1160 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
680 Solvers
-
Check if number exists in vector
12365 Solvers
-
Multiples of a Number in a Given Range
775 Solvers
-
788 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!