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 2429. Square Diagonal

Created by Pruthvi teja

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

Tags

Problem Group

Solution Statistics

47 correct solutions 30 incorrect solutions
Last solution submitted on Sep 07, 2014

Problem Comments