## MATLAB: How to remove identical matrix

MATLABunique

I have about 2000 matrices. They have the same number of columns but different number of rows. Some of these matrices are duplicates with identical number of rows, columns and identical values for all elements.

Here is my question. How do I go through these 2000 matrices and delete all duplicates. Is there a similar function like “unique” for matrices?

Many thanks!

## Best Answer