Cody

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

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

Solution Stats

69.75% Correct | 30.25% Incorrect
Last solution submitted on May 22, 2019

Problem Comments