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 Solvers35
Suggested Problems
-
Who knows the last digit of pi?
690 Solvers
-
Reverse the elements of an array
1113 Solvers
-
Who has power to do everything in this world?
485 Solvers
-
390 Solvers
-
Replace secondary diagonal elements of a square array
183 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!