Given a x-by-x matrix filled with zeros (x> 4). Use 1 to draw a letter C into it! Like this:
x = 5, y =
1 1 1 1 1
1 0 0 0 1
1 0 0 0 0
1 0 0 0 1
1 1 1 1 1
x = 7, y =
1 1 1 1 1 1 1
1 0 0 0 0 0 1
1 0 0 0 0 0 0
1 0 0 0 0 0 0
1 0 0 0 0 0 0
1 0 0 0 0 0 1
1 1 1 1 1 1 1
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers33
Suggested Problems
-
11977 Solvers
-
981 Solvers
-
07 - Common functions and indexing 6
466 Solvers
-
Find the dimensions of a matrix
556 Solvers
-
2411 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Please, include what should be done when x < 5 in the problem's description.