Path: news.mathworks.com!not-for-mail
From: "cartonn " <cartonn30gel@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Elementwise Expansion: How to "Dilute" a Matrix
Date: Mon, 25 Jul 2011 23:25:09 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 3
Message-ID: <j0ku0l$l9p$1@newscl01ah.mathworks.com>
References: <j0kr8h$enn$1@newscl01ah.mathworks.com>
Reply-To: "cartonn " <cartonn30gel@yahoo.com>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1311636309 21817 172.30.248.48 (25 Jul 2011 23:25:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 25 Jul 2011 23:25:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1618773
Xref: news.mathworks.com comp.soft-sys.matlab:737570

Thank you!! I wouldn't have been able to figure this out on my own. Also, I know about the kronecker tensor product now.

And thanks for the advice on loops. I just assume that if there's way to do something using MATLAB functions (which I'm assuming are already optimized), it's probably in my best interest to use them rather than trying to write my own functions.