This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Hassan Javaid
on 3 Aug 2013
like your solution its very concise but there is one problem for me you have used '* for multiplication, can you please tell why?
Suggested Problems
-
Sum of diagonal of a square matrix
1590 Solvers
-
9524 Solvers
-
5506 Solvers
-
Flip the vector from right to left
9532 Solvers
-
2414 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!