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
-
Swap the first and last columns
23366 Solvers
-
Matlab Basics - Absolute Value
680 Solvers
-
290 Solvers
-
Back to Basics - Find no. of elements in a matrix?
329 Solvers
-
2724 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!