Deleting Repeated Rows in a matrix

I need to delete duplicate rows in a matrix. I used "unique" function it deletes the duplicate rows but "re-orders" the rows in ascending order which I don't require. I need the first instance of the duplicate be kept as it is and all subsequent instances be deleted.

Categories

Asked:

on 27 Mar 2016

Answered:

on 27 Mar 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!