Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!usenet.stanford.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: Walter Roberson <roberson@hushmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: -extract 120X9 matrix from 1000X9 matrix randomly
Date: Tue, 09 Feb 2010 10:35:38 -0600
Organization: The University of Manitoba
Lines: 7
Message-ID: <hks2sq$a2v$1@canopus.cc.umanitoba.ca>
References: <hks11k$ti$1@fred.mathworks.com>
NNTP-Posting-Host: ssh.ibd.nrc.ca
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: canopus.cc.umanitoba.ca 1265733338 10335 132.246.132.10 (9 Feb 2010 16:35:38 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Tue, 9 Feb 2010 16:35:38 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
In-Reply-To: <hks11k$ti$1@fred.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:605799


muk wrote:

> Now, i have 1000X9 matrix which is quality parameters. And, i want to 
> extract 120X9 matris randomly from 1000x9 matrix.
> How can i do that?

randperm(1000) and take the first 120 output values.