MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > random block permutation matrix 

Subject: random block permutation matrix From: pluton schmidt Date: 6 Oct, 2011 03:14:14 Message: 1 of 16 
Hi, 
Subject: random block permutation matrix From: Bruno Luong Date: 6 Oct, 2011 06:01:28 Message: 2 of 16 
"pluton schmidt" wrote in message <j6j6e6$1ck$1@newscl01ah.mathworks.com>... 
Subject: random block permutation matrix From: pluton schmidt Date: 6 Oct, 2011 12:10:27 Message: 3 of 16 
> No, I can't see how Kronecker can help here. 
Subject: random block permutation matrix From: Jos (10584) Date: 6 Oct, 2011 14:16:28 Message: 4 of 16 
"pluton schmidt" wrote in message <j6j6e6$1ck$1@newscl01ah.mathworks.com>... 
Subject: random block permutation matrix From: pluton schmidt Date: 6 Oct, 2011 16:18:30 Message: 5 of 16 
> I may not understand your problem completely, but perhaps my RANDBLOCK function on the FEX is what you're looking for: 
Subject: random block permutation matrix From: Jos (10584) Date: 6 Oct, 2011 17:35:31 Message: 6 of 16 
"pluton schmidt" wrote in message <j6kkcm$nhk$1@newscl01ah.mathworks.com>... 
Subject: random block permutation matrix From: pluton schmidt Date: 7 Oct, 2011 15:30:33 Message: 7 of 16 
> random sized blocks? 
Subject: random block permutation matrix From: pluton schmidt Date: 7 Oct, 2011 15:44:10 Message: 8 of 16 
sorry, each identity matrix of size 4*4 will be: 
Subject: random block permutation matrix From: Bruno Luong Date: 7 Oct, 2011 18:05:20 Message: 9 of 16 
Try this 
Subject: random block permutation matrix From: Bruno Luong Date: 7 Oct, 2011 18:13:10 Message: 10 of 16 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message 
Subject: random block permutation matrix From: pluton schmidt Date: 10 Oct, 2011 12:30:27 Message: 11 of 16 
> s = [1 4 4], ; % size of each block, as in your example 
Subject: random block permutation matrix From: Bruno Luong Date: 10 Oct, 2011 13:15:29 Message: 12 of 16 
"pluton schmidt" wrote in message <j6uoh3$s0o$1@newscl01ah.mathworks.com>... 
Subject: random block permutation matrix From: pluton schmidt Date: 10 Oct, 2011 13:47:10 Message: 13 of 16 
> To generate random s, you could do the following 
Subject: random block permutation matrix From: pluton schmidt Date: 31 Oct, 2011 00:57:09 Message: 14 of 16 
by the way, how about a sparse version of the code so that full matrices 
Subject: random block permutation matrix From: pluton schmidt Date: 31 Oct, 2011 01:46:10 Message: 15 of 16 
"pluton schmidt" wrote in message <j8krp5$npr$1@newscl01ah.mathworks.com>... 
Subject: random block permutation matrix From: pluton schmidt Date: 31 Oct, 2011 03:05:26 Message: 16 of 16 
ok, that's what I have now and it goes much faster than before obviously. 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.