From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matrix matching
Date: Thu, 13 Aug 2009 19:33:02 +0000 (UTC)
Organization: Xoran Technologies
Lines: 8
Message-ID: <h61ppe$3t3$>
References: <h61k2i$p69$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1250191982 4003 (13 Aug 2009 19:33:02 GMT)
NNTP-Posting-Date: Thu, 13 Aug 2009 19:33:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: comp.soft-sys.matlab:563196

"charles atlas" <> wrote in message <h61k2i$p69$>...

Just in case it matters, the problem isn't entirely well defined. 

Suppose A has identical rows and B is a version of A with some of these rows deleted. 
Then it's not clear where the new rows (of zeros) should be inserted into B.

You could insert them anywhere provided that there are enough new rows to equal the number of original rows in A.