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
-
Sum of diagonal of a square matrix
1637 Solvers
-
Determine if input is a perfect number
262 Solvers
-
Find Factrorial without using built-in function
138 Solvers
-
Find Out sum of principal diagonal element of given matrix
258 Solvers
-
721 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!