- #1
big man
- 254
- 1
Homework Statement
I'm looking for a function in IDL that will select a certain section of an array.
The Attempt at a Solution
I could technically do this in a loop, but I saw that another student in my lab had a real simple single line function. I'm reading in a .wav file, which has 300000 data points and I'm wanting to select points 20000 to 60000.
For the loop I can do:
data=fltarr(40000)
for i=0, 39999 do data(i) = temp(i+20000)
But yeah I was just wondering if anyone knew what function I'm trying to describe in IDL. The function had this vague format:
......(20000:60000)