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

Home » Public Forums » archive » Re: Problem on where function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problem on where function [message #68818 is a reply to message #68796] Tue, 01 December 2009 02:39 Go to previous messageGo to previous message
a.mozafari1211 is currently offline  a.mozafari1211
Messages: 16
Registered: February 2009
Junior Member
On 1 Dez., 02:18, tonyhey <andi.b.walt...@googlemail.com> wrote:
> res = arr[index[n_elements(index)-1]]
>
> On 1 Dez., 11:13, ali mozafari <a.mozafari1...@googlemail.com> wrote:
>
>
>
>> 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.

Thanks Tony
Cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Headless build
Next Topic: match_3d.pro

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

Current Time: Sat Oct 11 22:23:06 PDT 2025

Total time taken to generate the page: 0.25418 seconds