Respondida
random elements from specific rows in matrix
Randperm is a simple helper for this: X = [1:10; 11:20]; idx1 = randperm(10); idx2 = randperm(10); entries = [X(1,...

más de 15 años hace | 0

| aceptada

Respondida
Random numbers without repetition
Hi Joey, not really elegant, but could work (as long as your "real" need is not much larger): Y = zeros(3, 10); for i=1:...

más de 15 años hace | 0

Respondida
xlswrite
If the entries in your cell array are indeed 1x1 cells of strings or empty cells, try to convert each cell entry to a string: ...

más de 15 años hace | 0

| aceptada

Respondida
Get a GUI to update while a loop is running
Try to put a drawnow into the loop to allow the event queue to be processed. Titus

más de 15 años hace | 6