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

Home » Public Forums » archive » connect the dots . . . A question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
connect the dots . . . A question [message #33821] Mon, 03 February 2003 17:21 Go to previous message
Sean Raffuse is currently offline  Sean Raffuse
Messages: 46
Registered: July 2001
Member
Hello venerable newsgroup.

I have an algorithmic question.

I'd like to interpolate values for everywhere in an array that I don't have
data. e.g.

myFullArray = intarr(12)
values = [10,20,30,20] ;the values I do have
indexes = [2,4,6,10] ;the locations associated with these values

In other words, I want to turn this [?,?,10,?,20,?,30,?,?,?,20,?]

into this [10,10,10,15,20,25,30,28,25,23,20,20]

Any thoughts?

Thanks in advance,

Sean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: TV, AXIS, T3D, Coordinate Systems
Next Topic: IDL, arrays, and memory

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

Current Time: Wed Oct 08 14:52:59 PDT 2025

Total time taken to generate the page: 0.00366 seconds