Cody

Problem 44673. Draw 'D'.

Created by Majid Farzaneh in Community

Draw a x-by-x matrix 'D' using 0 and 1.

example:

x=4
ans=
[1 1 1 0
 1 0 0 1
 1 0 0 1
 1 1 1 0]

Solution Stats

79.03% Correct | 20.97% Incorrect
Last solution submitted on Jun 22, 2019