I'm new to matlab and am struggling to even just start on a problem I am working on. Basically I have a user input a matrix. I then need to go row by row and have the even rows be Y coordinates and odd rows be X coordinates. I then plot those values. I have to use for loops to be able to repeatedly plot each new set of data. So for example the third and forth row would be a new set X and Y coordinates to be plotted. And thats where I am stuck at. I guess I don't fully understand for loops. Any help would be welcomed!