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 comments
Loading...
Problem Recent Solvers59
Suggested Problems
-
Find the sum of all the numbers of the input vector
53739 Solvers
-
Return the first and last characters of a character array
11791 Solvers
-
find the maximum element of the matrix
535 Solvers
-
474 Solvers
-
909 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!