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
-
Find the longest sequence of 1's in a binary sequence.
6695 Solvers
-
1626 Solvers
-
328 Solvers
-
Replace every 3rd element in a vector with 4
265 Solvers
-
2030 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!