Path: news.mathworks.com!not-for-mail
From: "yingmu huadao" <yingmusg@yahoo.com.sg>
Newsgroups: comp.soft-sys.matlab
Subject: Extracting data
Date: Tue, 30 Dec 2008 06:08:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <gjcds1$8j7$1@fred.mathworks.com>
Reply-To: "yingmu huadao" <yingmusg@yahoo.com.sg>
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 1230617281 8807 172.30.248.37 (30 Dec 2008 06:08:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 30 Dec 2008 06:08:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1302168
Xref: news.mathworks.com comp.soft-sys.matlab:509181


Hi all,

I have a variable, a = <1 x 102300 double>. How do I go about extracting data from every 4 numbers and store the data in another variable, for eg, the 1,5,9,13 (position) data, store in variable b.
Thanks in advance.

Yingmu