for K = 1 : size(ImagePairs,1)
subplot(1,2,1)
image(ImagePairs{K,1}};
title('Left')
subplot(1,2,2)
image(ImagePairs{K,2});
title('Right')
drawnow();
Q = input('Left (L) or Right (R)? ', 's'):
answers{K} = lower(Q);
end
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!