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

Home » Public Forums » archive » About INTERPOLATE function.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
About INTERPOLATE function. [message #91564] Wed, 29 July 2015 18:21 Go to previous message
Dae-Kyu Shin is currently offline  Dae-Kyu Shin
Messages: 25
Registered: February 2015
Junior Member
Example 1.

a = findgen(4)
a[1] = !values.f_nan
print, a
0.000000 NaN 2.00000 3.00000

print, interpolate(a, [0, 1, 2, 3])
NaN NaN 2.00000 3.00000

Example 2.
a = transpose(a)
print, interpolate(a, 0, [0, 1, 2, 3], /grid)
0.000000
NaN
2.00000
3.00000

different result~!!
is this right output?
[Message index]
 
Read Message
Read Message
Previous Topic: Draw a shapefile with label from attribute table
Next Topic: FG bug

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

Current Time: Wed Oct 08 13:32:44 PDT 2025

Total time taken to generate the page: 0.00377 seconds