Problem 45452. Spiral Out - 01

Create a spiral matrix ( clock-wise direction ) of size n.

Try to do that without using the built-in function.

Solution Stats

55.0% Correct | 45.0% Incorrect
Last Solution submitted on Jan 21, 2026

Solution Comments

Show comments

Problem Recent Solvers21

Suggested Problems

More from this Author174

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!