Belathor
April 16th, 2008, 03:53 AM
Hi,
Is it possible to iterate through a list of vectors in matlab or octave? For example, I want to be able to prompt the user for a set of coordinates on a grid and have them stored in a way so that I can iterate over them one by one. I feel I need to do this because I want to make a dot representing a robot traverse the grid through those user specified points in order. I am really inexperienced with the language and I don't have any idea how I would do it.
Thanks for any help you could give!
Is it possible to iterate through a list of vectors in matlab or octave? For example, I want to be able to prompt the user for a set of coordinates on a grid and have them stored in a way so that I can iterate over them one by one. I feel I need to do this because I want to make a dot representing a robot traverse the grid through those user specified points in order. I am really inexperienced with the language and I don't have any idea how I would do it.
Thanks for any help you could give!