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

Home » Public Forums » archive » Faster way ?
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
Faster way ? [message #41174] Mon, 27 September 2004 10:28
rats is currently offline  rats
Messages: 11
Registered: June 2004
Junior Member
Hi, I am trying to find the number of values that are within a range
...
I have an Array that has 3 columns and 5 millions lines.
Thats what I am doing ...

number = WHERE((Array[1,*] GE Min) AND (Array[1,*] LE Max), geralX)

I am storing the number inside the variable geralX ...
It is taking 0.23 seconds ... but I want to know if there is a faster
way to find that ...
Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Overlaying annotations
Next Topic: print text sideways in a plot: XYOUTS

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

Current Time: Wed Oct 08 18:38:19 PDT 2025

Total time taken to generate the page: 0.00508 seconds