Cody

Problem 589. Matrix indexing with two vectors of indices

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

45.97% Correct | 54.03% Incorrect
Last Solution submitted on Jul 14, 2020

Problem Comments

Solution Comments