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].

23 correct solutions
30 incorrect solutions

Last solution submitted on Jan 12, 2015

1 Comment