Problem 54079. Draw the symbol '+'
Draw '+' in an x-by-x matrix (where x is odd and x >3)
Example:
x = 5
y = [0 0 1 0 0
0 0 1 0 0
1 1 1 1 1
0 0 1 0 0
0 0 1 0 0]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers56
Suggested Problems
-
1270 Solvers
-
Set the array elements whose value is 13 to 0
1381 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1146 Solvers
-
Relative ratio of "1" in binary number
1461 Solvers
-
Side of an equilateral triangle
6408 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!