MATLAB: How to eliminate same strings in a cell-array

cellarraystrcmp

Thi is my cell-array:
h={'a','b','c','a','d'};
How to eliminate one of two equal strings like 'a' in the example and get a result like this:
v={'a','b','c','d'};
Thanks in advance for your help!

Best Answer

This works:
v = unique(h);