From: C T on
I am trying to pre-allocate a cell array of strings. I can do the following:

test = cell(m,1);
for i = 1:m
test{i} = 'test';
end;
unique(test);

But I thought there may be a better solution somewhere. The main thing is being able to do unique(test);

TIA
ct