Create a spiral matrix ( clock-wise direction ) of size n.
Try to do that without using the built-in function.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers22
Suggested Problems
-
2560 Solvers
-
1443 Solvers
-
619 Solvers
-
374 Solvers
-
Matrix of almost all zeros, except for main diagonal
191 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!