This really violates the spirit of the problem.
I know... :-p
it was quick and dirty. I will come again to solve it right. ;-)
Get the elements of diagonal and antidiagonal for any m-by-n matrix
282 Solvers
Create a two dimensional zero matrix
363 Solvers
Is this triangle right-angled?
3098 Solvers
There are 10 types of people in the world
345 Solvers
1357 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!