Cody

Problem 42675. Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.

Created by kunal in Community

if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

Solution Stats

68.7% Correct | 31.3% Incorrect
Last solution submitted on Feb 13, 2019

Problem Comments

Recent Solvers55

Suggested Problems

More from this Author3

Tags

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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!