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
-
7464 Solvers
-
Add a row of zeros on top of a matrix
266 Solvers
-
335 Solvers
-
Find the max element of the array
2120 Solvers
-
825 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!