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

New to MATLAB?

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

42 correct solutions 49 incorrect solutions
Last solution submitted on Feb 18, 2015

Problem Comments

Solution Comments