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 Solvers61
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2540 Solvers
-
Find nearest prime number less than input number
1017 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
867 Solvers
-
Replace every 3rd element in a vector with 4
265 Solvers
-
Find the max element of the array
2221 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!