Path: news.mathworks.com!not-for-mail
From: "M K" <maha_k@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Vectors
Date: Wed, 12 Nov 2008 13:10:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <gfekjc$46l$1@fred.mathworks.com>
References: <gfejp2$od9$1@fred.mathworks.com>
Reply-To: "M K" <maha_k@mathworks.com>
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 1226495404 4309 172.30.248.37 (12 Nov 2008 13:10:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 12 Nov 2008 13:10:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1115780
Xref: news.mathworks.com comp.soft-sys.matlab:500377


Can the Dot product of two vectors, A and B in Matlab be written as

dot(A,B)/norm(A)*norm(B)=cos(teta)




"M K" 

<maha_k@mathworks.com> wrote in message <gfejp2$od9$1@fred.mathworks.com>...
> I have 4 points of a plane, ABCD .Can i calculate the normal vector,n  of it?
> 
> Is it n= cross(AB,CD)?