Path: news.mathworks.com!not-for-mail
From: "Travis" <sinusoid2@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: River miles
Date: Wed, 19 Nov 2008 22:40:18 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <gg24kh$c5h$1@fred.mathworks.com>
References: <gfst52$caq$1@fred.mathworks.com> <90f017a9-906d-4c7d-8ac5-7167e15e0d8c@u18g2000pro.googlegroups.com> <01d3cdd8-c83e-47bc-9357-fb97949f0eff@r40g2000yqj.googlegroups.com> <gg22tm$k2v$1@fred.mathworks.com> <MPG.238e5b999c15195a9898f5@news.mathworks.com>
Reply-To: "Travis" <sinusoid2@hotmail.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 1227134418 12465 172.30.248.37 (19 Nov 2008 22:40:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 19 Nov 2008 22:40:18 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1257700
Xref: news.mathworks.com comp.soft-sys.matlab:501875


> What Rune meant, and should work, is to separately interpolate lat vs. 
> dist and long vs. dist, with dist the independent variable.  Then you 
> should have new matching arrays for lat and long.
> 
> -- 
> Loren
> http://blogs.mathworks.com/loren

How can I interpolate Lat vs. Dist and Long vs. Dist when a certain Lat or certain Long may have multiple Dist numbers associated with it?  I have tried using interp1 just using lat or long and dist, and it doesn't work.