Problem 44102. Stop a ZigZag scanning N*N Matrix at any diag you want
Solution Stats
Problem Comments
-
1 Comment
yurenchu
on 25 Apr 2017
I'd suggest adding test cases in which n (or abs(n)) is larger than the dimension of x; for example, x is a 4-by-4 matrix and n = 6.
Problem Recent Solvers14
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
43427 Solvers
-
213 Solvers
-
How long is the longest prime diagonal?
375 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
823 Solvers
-
normalize group of numbers to integers
54 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!