random sampling of rows
in [
Matlab
]
Prev:
radio buttons and popup menus
Next:
Hide Matlab IDE menu bar
From:
Matt Fig
on
22 Jun 2010 23:37
Or, if you prefer explicit FOR loops:
% Another, probably faster method.
idx = perms(1:size(x,1));
C = cell(size(idx,1),1);
for ii = 1:size(idx,1)
C{ii} = x(idx(ii,:),:);
end
First
|
Prev
|
Pages:
1
2
Prev:
radio buttons and popup menus
Next:
Hide Matlab IDE menu bar