Cody

Problem 2429. Square Diagonal

If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

Solution Stats

63.51% Correct | 36.49% Incorrect
Last solution submitted on Sep 17, 2017

Problem Comments

Tags

5
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!