Cody

Problem 943. "mirror" matrix

Create n x 2n "mirror" matrix of this type:

e.g. for n = 2

m = [1 2 2 1;1 2 2 1]

e.g. for n = 3

m = [1 2 3 3 2 1; 1 2 3 3 2 1; 1 2 3 3 2 1]

Solution Stats

67.25% Correct | 32.75% Incorrect
Last solution submitted on Sep 21, 2016
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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more