comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Interpolate between two curves
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Interpolate between two curves [message #75605] Fri, 25 March 2011 16:40
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
Hi all,

I have a large set (>10,000) of x,y data points, and two non-
overlapping curves (2nd-degree poly fits):
y = a1*x^2+b1*x+c1
y = a2*x^2+b2*x+c2
Curve 1 has z=0 and curve 2 has z=5; z values change linearly in y
between the two curves. How do I find the z values of all my data
points from these curves? I really don't want to loop over all my
points with INTERPOL, but INTERPOLATE can only handle indices, not
data values. Any suggestions? Thanks!

--Gray
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL routine to read MATLAB MAT-files
Next Topic: Re: Interpolate between two curves

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:29:53 PDT 2025

Total time taken to generate the page: 0.00441 seconds