Answered
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,...

15 years ago | 0

| accepted

Answered
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:...

15 years ago | 0

Answered
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: ...

15 years ago | 0

| accepted

Answered
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

15 years ago | 6