-
2 Comments
Mehmet OZC
on 21 Oct 2017
First line is adopted from James's solution: https://www.mathworks.com/matlabcentral/cody/problems/2455-diagonal-of-a-spiral-matrix/solutions/1239477
James
on 2 Nov 2017
I was just happy I could use "diag" and "spiral" in this problem, but it's always nice to see some of my solutions get used in other code.
Suggested Problems
-
Which values occur exactly three times?
5149 Solvers
-
2972 Solvers
-
1264 Solvers
-
272 Solvers
-
81 Solvers
More from this Author92
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!