Draw a x-by-x matrix 'Denmark flag' using '4' and '1'.(x is odd and bigger than 4)
Number 4: Caption S.Kjær and number 1: K.Schmeichel (Goalkeepers)
x=5
ans=
[4 1 4 4 4
4 1 4 4 4
1 1 1 1 1
4 1 4 4 4
4 1 4 4 4]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers38
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2820 Solvers
-
Matlab Basics - Convert a row vector to a column vector
683 Solvers
-
Finding perimeter of a rectangle
496 Solvers
-
278 Solvers
-
1126 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!