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 1153. Accessing elements on the diagonal

Created by HARISANKAR PS

Access the diagonal elements of a matrix without 'diag' function

Tags

Problem Group

Solution Statistics

50 correct solutions 67 incorrect solutions
Last solution submitted on Apr 14, 2016

Problem Comments

Solution Comments