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

43 correct solutions 55 incorrect solutions
Last solution submitted on May 17, 2015

Problem Comments

Solution Comments