Extract elements from floating-point array [message #59706] |
Sun, 06 April 2008 08:28 |
moxament
Messages: 26 Registered: April 2008
|
Junior Member |
|
|
Dear IDL group members,
I am beginner in the IDL programming and I have a lot of problems :(.
My question now is the following:
I have a floating-point array Rdata with 335412 elements. The values
of the elements are between 5.9e+009 minimum and 3.7e+0013 maximum. I
want to extract the elements of the array where Rdata(i) > Rdara(i-1)
and Rdata(i) > Rdata(i+1) and put them in a new array, lets say
Rdata_new.
Can anyone help me PLEASE. I tried ptrarr and ptr_new but I could not
get any result.
In addition, I do not know why I usually have problems when I deal in
IDL with arrays like the one I mentioned before??? as I said I am
beginner and I do not know if IDL has problems with huge arrays like
mines with such element values.
any help will be appreciated.
Mohammed Dabboor
|
|
|