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
-
Back to basics 22 - Rotate a matrix
932 Solvers
-
17434 Solvers
-
Sum of odd numbers in a matrix
613 Solvers
-
5985 Solvers
-
Convert from Fahrenheit to Celsius
27450 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!