This is my code but I'm sure MATLAB provides a more elegant way to do this. Any thoughts?
all = csvread('TRAINING_i.csv');
actual = csvread('TRAINING_INPUTS.csv');
indTraining = zeros(size(actual,1),1);
for i = 1:size(actual,1)
indTraining(i,1) = find(ismember(all, actual(i,:), 'rows'));
end