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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15783 Solvers
-
1247 Solvers
-
410 Solvers
-
512 Solvers
-
Is this triangle right-angled?
6423 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!