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

Home » Public Forums » archive » polar interpolation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: polar interpolation [message #33622 is a reply to message #33528] Mon, 13 January 2003 17:36 Go to previous messageGo to previous message
Thomas Gutzler is currently offline  Thomas Gutzler
Messages: 44
Registered: November 2002
Member
Hi,

Rick Towler wrote:
> "Thomas Gutzler" <tgutzler@ee.uwa.edu.au> wrote
>>
>> I want an interpolated curve in polar coordinates AND equidistant
>> theta-values. Since the original curve isn't a straight line it's really
>> complicated to pass the correct x-values to interpol so that
>> reconversion of the interpolated curve would have eqidistant
>> theta-values (of type integer).
>
> I might be missing something here (I usually am) but why won't simple linear
> interpolation work?

Hm, because I want it to be a spline or sth.

> If it is difficult to get one of the canned routines to
> work, brew your own:
>
> Interpolate between points a and b:
> iFactor = (Ti - Ta) / (Tb - Ta)
> Ri = Ra + (iFactor * (Rb - Ra))
> Where Ti is the Theta value where you are interpolating your radius Ri.

Thanx for this, but..
what I'm trying to do is to create the fitting function using spline and
solve this for the desired theta-values.
If I can't get this to work I will perhaps use your linear one.

Tom
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: bandpass filter
Next Topic: Re: keyboard problem

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

Current Time: Sun Oct 12 07:36:35 PDT 2025

Total time taken to generate the page: 1.98548 seconds