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 Solvers36
Suggested Problems
-
Flip the main diagonal of a matrix
919 Solvers
-
722 Solvers
-
Determine the length of a string of characters
268 Solvers
-
388 Solvers
-
731 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!