Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Vectorization
Date: Sun, 5 Jul 2009 12:36:01 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 4
Message-ID: <h2q6nh$cjr$1@fred.mathworks.com>
References: <8d98157c-ab47-40cb-8e4f-af119371a0db@h8g2000yqm.googlegroups.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246797361 12923 172.30.248.35 (5 Jul 2009 12:36:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 5 Jul 2009 12:36:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:552877


W = Q*V;
W = W(bsxfun(@plus,(1:K)',(P-1)*K))

% Bruno