Path: news.mathworks.com!not-for-mail
From: "Aimin Yan" <aiminy@iastate.edu>
Newsgroups: comp.soft-sys.matlab
Subject: generate combination set
Date: Thu, 15 Nov 2007 04:44:59 +0000 (UTC)
Organization: ISU
Lines: 9
Message-ID: <fhgisb$us$1@fred.mathworks.com>
Reply-To: "Aimin Yan" <aiminy@iastate.edu>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1195101899 988 172.30.248.37 (15 Nov 2007 04:44:59 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 15 Nov 2007 04:44:59 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 889849
Xref: news.mathworks.com comp.soft-sys.matlab:437619



I have a set data={A B C D E F G H}
I want to choose 3 from 8, that is to generate the 
combination set like this
combination set={ABC ABD ....}
Does anyone how to do in matalb

thanks,

Aimin