I simply need help getting started.
Say i have a cell array like this
Fruits = 'Apple'
'Cherry'
'Lime'
'Apricot'
'Chestnut'
and I create a 5x5 cell array liek this fruit1 = cell(5,5)
Is there a way to put the fruits into fruit1 cell array in ONLY 5 random places.
Only way I know of is randperm or rand but that can only be done with numbers.


LinkBack URL
About LinkBacks