Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!r24g2000yqd.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Help
Date: Mon, 9 Nov 2009 06:53:52 -0800 (PST)
Organization: http://groups.google.com
Lines: 19
Message-ID: <6a9b1274-66a2-4fd4-a6d2-6e377304f659@r24g2000yqd.googlegroups.com>
References: <hd8qpl$lip$1@fred.mathworks.com> <962879835.39244.1257772629356.JavaMail.root@gallium.mathforum.org>
NNTP-Posting-Host: 192.44.136.113
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1257778432 11102 127.0.0.1 (9 Nov 2009 14:53:52 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 9 Nov 2009 14:53:52 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r24g2000yqd.googlegroups.com; posting-host=192.44.136.113; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-Via: 1.1 bdci2px (NetCache NetApp/6.0.7)
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	CyberSafe-IWA-Enable; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8; 
	.NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 
	3.5.30729),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:583564


On Nov 9, 8:16 am, nordmoon <ariana...@gmail.com> wrote:
> Don't you need a function for that? What if you do not have a function, you only have x and y points in which y(x)??

----------------------------------------------------------------------------------------------------
You have your data, which are samples from your underlying function.
You pass this in to interp1 and tell it what function you want to use
to estimate the "in between" values, such as spline, linear, etc.
These functions may not be the same as your "true" underlying
function, but then it you knew what that function was, you wouldn't be
needing any other function such as interp1 to estimate it for you --
you'd just use your known function.  You do need to supply the "in
between" x values where you want to get your estimated y values to
interp1().  In other words, you have everything you need.  Just start
using it.

P.S. You've posted here before and should know the guidelines about
picking descriptive subject lines.  "Help" just doesn't quite cut it.