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

Home » Public Forums » archive » Problem on where function
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
Problem on where function [message #68870] Tue, 01 December 2009 02:13
a.mozafari1211 is currently offline  a.mozafari1211
Messages: 16
Registered: February 2009
Junior Member
Hi
I used where function to extract from one array a property. Like
this:
Index=where(arr gt th)
Th is a threshold
Now arr[index[0]] give us the first member with the specified
threshold. My problem is I can’t find the end member. I used something
like this:
Print, arr[n_elements[index]]
But it’s give me wrong answer.
Could somebody help me for this?
A.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDLgrWindow vs. IDLgrBuffer, font-rendering difference
Next Topic: Re: How to store compressed data ?

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

Current Time: Thu Oct 09 15:01:09 PDT 2025

Total time taken to generate the page: 1.11941 seconds