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
-
Flip the main diagonal of a matrix
919 Solvers
-
Change the sign of even index entries of the reversed vector
659 Solvers
-
Side of an equilateral triangle
7089 Solvers
-
606 Solvers
-
1226 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!