Remove duplicates per row
Show older comments
Hello! I only found answers about how to find duplicate rows with "unique"..
I want to remove all duplicate values per row so every value per row is unique:
Matrix A:
[1 1 2
1 2 2
3 2 3]
Output:
[1 2
1 2
2 3]
Thanks in advance!
Accepted Answer
More Answers (0)
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!