Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Problem with bsxfun and MATLAB Version 7.3.0.267 (R2006b)
Date: Wed, 5 Nov 2008 18:18:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <geso0q$c6u$1@fred.mathworks.com>
References: <ger09l$7v0$1@fred.mathworks.com> <gesmvk$t31$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1225909082 12510 172.30.248.35 (5 Nov 2008 18:18:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 5 Nov 2008 18:18:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1176925
Xref: news.mathworks.com comp.soft-sys.matlab:499155


For other people having similar trouble (if so) with bsxfun with older MATLAB versions, I googled a bit and found this one. Seems to work:

http://www.mathworks.com/matlabcentral/fileexchange/18685

Follow the links to get a customized bsxfun function. I got the runcontest working, hope the values are same as with MATLAB's own bsxfun.

On the example testsuite, with the abovementioned bsxfun,

runcontest

ans =

results: 25128.03
time: 38.89

MATLAB team may verify..

Best,
Abhisek