Problem 52369. Draw 'S'
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 commentsProblem Recent Solvers29
Suggested Problems
-
Sum the numbers on the main diagonal
565 Solvers
-
584 Solvers
-
Append two matrix as shown below example
220 Solvers
-
Cumulative product of a vector
272 Solvers
-
Height of a right-angled triangle
1624 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!