1. Not finding help here? Sign up for a free 30min 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!

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:

    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)
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted



Similar Discussions: IDL programming
Loading...