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 2533. Find Out sum of principal diagonal element of given matrix

Created by Pritesh Shah

Find out sum of principal diagonal element of given matrix

If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

Tags

Problem Group

Solution Statistics

46 correct solutions 3 incorrect solutions
Last solution submitted on Jun 29, 2016