From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: avoiding loops to built a z matrix of the most efficient form
Date: Thu, 26 Mar 2009 18:58:01 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 1
Message-ID: <gqgj7p$dno$>
References: <gqdj93$qa4$> <gqdn0i$a5r$> <gqdr01$jp4$> <gqduat$hug$> <gqdvgd$bvg$> <gqe1nl$cra$> <gqe4fp$1ml$> <gqe6ja$4fg$> <gqe7j5$evd$> <gqe7ud$9vm$> <gqeh2t$aqc$> <gqf9q6$gad$> <gqg8go$o5j$> <gqgg4e$98j$> <gqghjs$mav$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1238093881 14072 (26 Mar 2009 18:58:01 GMT)
NNTP-Posting-Date: Thu, 26 Mar 2009 18:58:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: comp.soft-sys.matlab:528009

Why is pm being calculated when it is not being used?  Why are you pre-allocating zm but not the array that is actually growing in the loop (lpms)?