I have my data Y, and dim Y is 2000, 500. I only want 400 of this data, and I have a saved variable called index recording the 400 I want to save. How to read from Y with in