Cody

Problem 589. Matrix indexing with two vectors of indices

Created by Nicholas Howe in Community

Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

Solution Stats

46.09% Correct | 53.91% Incorrect
Last solution submitted on Jul 24, 2019

Problem Comments

Solution Comments