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 Solvers29
Suggested Problems
-
Back to basics 21 - Matrix replicating
1471 Solvers
-
Back to basics 22 - Rotate a matrix
887 Solvers
-
Compute a dot product of two vectors x and y
971 Solvers
-
Create a square matrix of zeros of even order
152 Solvers
-
163 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!