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 Solvers21
Suggested Problems
-
Get the area codes from a list of phone numbers
1072 Solvers
-
555 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
512 Solvers
-
Magic is simple (for beginners)
11110 Solvers
-
271 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!