Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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

Solution Statistics

72 correct solutions 38 incorrect solutions
Last solution submitted on Jun 12, 2016