Delete duplicate entries

I have several vectors that are tied to each other. Using the "time" vector as a reference, I want to be able to delete duplicate consecutive entries from the vectors (say if time1 = time2, delete time2 and the associated values in the other vectors).
I don't understand, post the code in wich you define the vectors, 'cos what you said, I just don't understand it.
I ended up just putting the values into a separate vector.
Topic archived. No new replies allowed.