Problem 52369. Draw 'S'
draw S using nxn matrix, where n is odd and greater than 4
S = [1 1 1 1 1
1 0 0 0 0
1 1 1 1 1
0 0 0 0 1
1 1 1 1 1]
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers34
Suggested Problems
-
Sum the numbers on the main diagonal
602 Solvers
-
5664 Solvers
-
160 Solvers
-
Find the max element of the array
1988 Solvers
-
625 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!