Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 1325. Special matrix

Created by Dan

Make a square matrix with this shape. For n=4

M =

     1     1     0     0
     1     0     1     0
     0     1     0     1
     0     0     1     1

Problem Group

40 solvers submitted 75 solutions (1.88 solutions/solver).

Loading Solution Map...