Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: element-wise division
Date: Mon, 15 Jun 2009 21:06:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 3
Message-ID: <h16d3q$jlq$1@fred.mathworks.com>
References: <h16bst$sft$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1245099963 20154 172.30.248.37 (15 Jun 2009 21:06:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 15 Jun 2009 21:06:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1652144
Xref: news.mathworks.com comp.soft-sys.matlab:547681


Look up bsxfun. It's only available on 2007a+. You could also download it if you Google "download bsxfun". It does elementwise operations on vectors.

Kian