Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: remove multiple rows of matrix based the value and index of row of another matrix
Date: Sat, 20 Mar 2010 18:51:03 +0000 (UTC)
Organization: Saint Louis University
Lines: 2
Message-ID: <ho35en$f85$1@fred.mathworks.com>
References: <ho32h2$3mi$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1269111063 15621 172.30.248.35 (20 Mar 2010 18:51:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 20 Mar 2010 18:51:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 582341
Xref: news.mathworks.com comp.soft-sys.matlab:618573

ops!!! matrixB is an array 1xn, not n by 1
matrixB = [1 2 2 1 2]