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

Home » Public Forums » archive » newbie: multiple subarrays in array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
newbie: multiple subarrays in array [message #31559] Mon, 15 July 2002 10:36
foppa is currently offline  foppa
Messages: 3
Registered: July 2002
Junior Member
Hello there,

This is my first question in this discussion group - and a simple one:

I have an array with different integer values
e.g.[10,4,-9999,-9999,4,6,-9999,45,-9999]
what I need is a new array without the (-9999) values. These values
represent nodata in my dataset.
-> [10,4,4,6,45] should be the result.
I have already tried the function "arrdelete.pro" from Craig Markwardt
which
is a function to delete a section of an array. But in my case I have
different subarray in my array and they are not alwalys at the same
position.
With WHERE I can define the position of the (-9999) values but how do
I delete them automatically form many cases?
I hope I expressed me correctly and that someone as an idea!

Thanks a lot to everybody in advance,
nando
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: newbie: subarray from array
Next Topic: Re: newbie: multiple subarrays in array

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

Current Time: Wed Oct 08 17:08:27 PDT 2025

Total time taken to generate the page: 0.00427 seconds