Problem 52203. Draw a x-by-x matrix 'Denmark flag'(Euro(2020)
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 commentsProblem Recent Solvers30
Suggested Problems
-
Longest run of consecutive numbers
5122 Solvers
-
Split a string into chunks of specified length
1535 Solvers
-
Matrix multiplication across rows
304 Solvers
-
Height of a right-angled triangle
1638 Solvers
-
931 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!