Path: news.mathworks.com!not-for-mail
From: "Mark Schelbergen" <mjewrik@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: inverse cross product
Date: Tue, 25 May 2010 13:10:21 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <htgi7t$3jq$1@fred.mathworks.com>
References: <ht3c9g$8ko$1@fred.mathworks.com> <ht3gf8$hvc$1@fred.mathworks.com>
Reply-To: "Mark Schelbergen" <mjewrik@hotmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1274793021 3706 172.30.248.38 (25 May 2010 13:10:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 25 May 2010 13:10:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2360483
Xref: news.mathworks.com comp.soft-sys.matlab:639055

what is wrong with this:

F2=uv(cross(M,r))*norm(M)/norm(r);

where uv() is af function to determine the unit vector