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 Solvers37
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3677 Solvers
-
Check that number is whole number
5210 Solvers
-
Sum the squares of numbers from 1 to n
259 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2146 Solvers
-
926 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!