Create a spiral matrix ( clock-wise direction ) of size n.
Try to do that without using the built-in function.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers24
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53803 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3073 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14438 Solvers
-
The Answer to Life, the Universe, and Everything
588 Solvers
-
529 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!