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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53547 Solvers
-
Find the sum of the elements in the "second" diagonal
1206 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
405 Solvers
-
485 Solvers
-
Find the Oldest Person in a Room
21264 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!