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

61.31% Correct | 38.69% Incorrect
Last solution submitted on Aug 23, 2016

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!

Join the 15-year community celebration.

Play games and win prizes!

Learn more