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 comments
Loading...
Problem Recent Solvers34
Suggested Problems
-
761 Solvers
-
Let's get back to school, and create multiplication tables
236 Solvers
-
Matlab Basics II - Max & Index of Max
263 Solvers
-
540 Solvers
-
Rotate a matrix for 180 degree
215 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!