1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: IDL programming

  1. Apr 28, 2007 #1
    1. The problem statement, all variables and given/known data
    I'm looking for a function in IDL that will select a certain section of an array.

    3. 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:

    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:

  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted