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
-
2377 Solvers
-
Find the sum of the elements in the "second" diagonal
1205 Solvers
-
Flip the main diagonal of a matrix
919 Solvers
-
Getting the indices from a vector
12269 Solvers
-
572 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!