From: "Dai" <>
Newsgroups: comp.soft-sys.matlab
Subject: How to create vectors from position data?
Date: Wed, 5 Nov 2008 08:15:19 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <gerkmn$sdr$>
Reply-To: "Dai" <>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1225872919 29115 (5 Nov 2008 08:15:19 GMT)
NNTP-Posting-Date: Wed, 5 Nov 2008 08:15:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1526929
Xref: comp.soft-sys.matlab:499016

Hi everyone

I have exported three dimensional coordinate data of markers placed along either side of a human spine into a text file. Each marker has three coordinates (x,y,z). I attempted to import the text file into MatLab to create vectors connecting each pair of markers and compute the angle of one vector relative to another but could not work out what functions to use. It would be greatly appreciated if anyone could advise me how to create vectors from coordinate data and compute angles thereafter. 

Thank you in advance