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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53677 Solvers
-
Duplicate each element of a vector.
639 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
convert matrix to single column
440 Solvers
-
Rounding off numbers to n decimals
5810 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!