MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply TodayGiven a reference set R of elements (each unique but identical in type), and a list V of elements drawn from the set R, possibly with duplicates, return K such that R(K) == V. The elements of R may be numeric or string.

For example, refIndex(9:-1:5,[7 5 6 5]) should return [3 5 4 5].

21 correct solutions
20 incorrect solutions

Last solution submitted on Jul 10, 2014

1 Comment