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
15782 Solvers
-
285 Solvers
-
Return the first and last characters of a character array
11845 Solvers
-
Reverse the elements of an array
1113 Solvers
-
214 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!