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
-
Select every other element of a vector
36744 Solvers
-
Create a vector whose elements depend on the previous element
794 Solvers
-
Add a row of zeros on top of a matrix
268 Solvers
-
Matrix multiplication across rows
399 Solvers
-
404 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!