Path: news.mathworks.com!not-for-mail
From: "Aaron Anstey" <elaja2@lboro.ac.uk>
Newsgroups: comp.soft-sys.matlab
Subject: Two vectors different dimensions
Date: Tue, 7 Sep 2010 20:15:06 +0000 (UTC)
Organization: Loughborough University
Lines: 14
Message-ID: <i666ga$1u$1@fred.mathworks.com>
Reply-To: "Aaron Anstey" <elaja2@lboro.ac.uk>
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 1283890506 62 172.30.248.38 (7 Sep 2010 20:15:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 7 Sep 2010 20:15:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2416471
Xref: news.mathworks.com comp.soft-sys.matlab:668296

I have a information for elevation (metres) along a road at certain distances from origin and also vectors for speed and power, measured at different distances.

I need to somehow link both the tables and it may mean using bins at 1-2 metre intervals or round each point up. Any hints or tips to do this would be appreciated. Distance is the only common variable between the two tables.
Distance   Elevation
1.2               24
2.3               26
4.5               32  

distance  Time  Power   Speed
1.5            1      0.5        10
2 .7           2       0.7       15
3.2            3       0.3        16

Thanks