Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Permutatation of given Matrix with no row repetition
Date: Wed, 14 Dec 2011 18:13:08 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 21
Message-ID: <jcaovk$fg$1@newscl01ah.mathworks.com>
References: <jca22g$bdf$1@newscl01ah.mathworks.com> <d2d7a049-75f2-4d85-923e-f866f4fbd953@p9g2000vbb.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1323886388 496 172.30.248.45 (14 Dec 2011 18:13:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 14 Dec 2011 18:13:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3228552
Xref: news.mathworks.com comp.soft-sys.matlab:752366


> Choose 7 numbers randomly out of 1,...,32 with repetitions.
> Say you got 23,14,4,9,17,17,1.
> Remove column 23 of the columns with a 1 as first element, column 14
> of the columns with a 2 as first element and so
> on. Now make a random permutation of the numbers 1 - 7 and arrange the
> 7 extracted columns to a matrix
> of size 4x7 according to the permutation.
> Now the original matrix has size 4x217 (with the 7 columns removed).
> Choose 7 numbers randomly out of 1,...31 with repetitions.
> Continue as indicated above ...
> 
> Best wishes
> Torsten.


Thanks Torsten

your idea is fine, but I don't know how to remove the extracted columns

thanks again