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

44 correct solutions 56 incorrect solutions
Last solution submitted on Jun 02, 2015

Problem Comments

Solution Comments