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 Solvers62
Suggested Problems
-
7490 Solvers
-
Back to basics 21 - Matrix replicating
1819 Solvers
-
Split a string into chunks of specified length
2138 Solvers
-
Sum of first n positive integers
628 Solvers
-
529 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!