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 Solvers60
Suggested Problems
-
Select every other element of a vector
36096 Solvers
-
The Hitchhiker's Guide to MATLAB
3404 Solvers
-
Return unique values without sorting
999 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
2036 Solvers
-
609 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!