Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Efficient computation: differences of column vectors of matrix
Date: Wed, 1 Jul 2009 11:48:01 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 10
Message-ID: <h2fidh$mpl$1@fred.mathworks.com>
References: <cd6f7a80-0651-417d-ac72-88d6b326e1fe@b14g2000yqd.googlegroups.com> <63985d2a-adf8-47c9-aaa3-52e0a1cb9ede@37g2000yqp.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 1246448881 23349 172.30.248.35 (1 Jul 2009 11:48:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 1 Jul 2009 11:48:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:551955


arun <aragorn168b@gmail.com> wrote in message <63985d2a-adf8-47c9-aaa3-52e0a1cb9ede@37g2000yqp.googlegroups.com>...

> 
> its just,
> A(J2(:,1),:) - A(J2(:,2),:)


Unless I'm mistaking, this is NOT what you have described in the example in the post #1. But anyway you seem to know what you want.

Bruno