Date: May 9, 2013 8:12 AM Author: dpb Subject: Re: Stupid question ;) On 5/8/2013 10:45 PM, dpb wrote:
>> When I will have B, I will just create a lot of resamples with
>> replacement of these blocks
>> for example X = [ B(1) B(1) B(6) B(4) B(3) B(1)]
> Just like you wrote it---but there's really no need; just use
> X = [u(:,randperm(size(u,2)))];
Oh, I overlooked you're sampling w/ replacement apparently--see
instead of randperm for that...