Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: multivariate sample
Date: Sun, 12 Feb 2012 20:01:11 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <jh95q7$rvd$1@newscl01ah.mathworks.com>
References: <jh8cta$hdq$1@newscl01ah.mathworks.com> <jh953l$puh$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-04-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1329076871 28653 172.30.248.35 (12 Feb 2012 20:01:11 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 12 Feb 2012 20:01:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:757455

"eren gümü_" <erengumus@e-mail.com.tr> wrote in message <jh953l$puh$1@newscl01ah.mathworks.com>...
> nchoosek only choose on a vector not matrix
- - - - - - - - -
  Don't use nchoosek on x.  Use it on 1:12 to choose all possible combinations of seven subscripts to use as the possible rows of x.  (You will have to figure out what to do with all 792 groups of results.)

Roger Stafford