From: C T on 9 Apr 2010 12:15 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
|
Pages: 1 Prev: Registering CT images Next: preallocating a cell array of strings |