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 Solvers59
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2810 Solvers
-
1620 Solvers
-
Test Problem; Create a 5x5 array containing all ones
403 Solvers
-
244 Solvers
-
2494 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!