Take a look at the second and third outputs in the documentation for 'unique', to see how to determine which rows were deleted.
The result of unique is sorted-- you can use the outputs to restore them to their original ordering.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!