MATLAB Cody - MATLAB Central

Problem 859. Get the elements of diagonal and antidiagonal for any m-by-n matrix

Difficulty:Rate

Solution 118206

Submitted on 24 Jul 2012 by Khaled Hamed
  • Size: 29
  • This is the leading solution.
This solution is locked. To view this solution, you need to solve the problem first.

Suggested Problems

More from this Author30

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page