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
-
Return unique values without sorting
1002 Solvers
-
Duplicate each element of a vector.
636 Solvers
-
510 Solvers
-
Calculate the square of a number (Super Easy)
197 Solvers
-
3022 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!