From: Judith Machts on 18 Mar 2010 07:58 hello, i have problems using the command "randperm". i want to randomize a cell array, containing pictures. cell_array = {'1.jpg',........'80.jpg'}; now the command cell_array = randperm(length(cell_array)) creates random numbers, but i can´t use the random numbers to re-index my cell-array. well probably it´s quite simple...
|
Pages: 1 Prev: randperm cell array Next: Replacing a variable in a file |