Path: news.mathworks.com!not-for-mail
From: "Jerry" <mricad@yahoo.no000spppam.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Vectorization of matrix operations--need guru's help!
Date: Mon, 24 Nov 2008 22:38:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <ggfaca$50g$1@fred.mathworks.com>
References: <ggeq17$hj$1@fred.mathworks.com> <ggeu2i$1l4$1@fred.mathworks.com>
Reply-To: "Jerry" <mricad@yahoo.no000spppam.com>
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 1227566282 5136 172.30.248.35 (24 Nov 2008 22:38:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 24 Nov 2008 22:38:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 544673
Xref: news.mathworks.com comp.soft-sys.matlab:502970


"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message 
>   There seems to be some confusion in your code as to whether n0 is the size of the row or the column of 'mwk'.
> 
> Roger Stafford

You are right. should be
[n1,n0]=size(mwk);