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

Home » Public Forums » archive » Re: bad column in image
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: bad column in image [message #66703] Wed, 03 June 2009 09:48 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Amanda wrote:
> I was just using the where function, like this: arr(where(arr[1440,*]
> GT 1000))=mean(arr) but I don't know if that's how I should be doing
> it.
>
> Amanda

Amanda, pay close attention to the meaning of the index returned by the
where function. In this call, you will have the index where the value is
gt 1000 in your column of interest. arr[1440,*] is a 1D array. Then,
with these index, you are applying them to arr, which is a 2D array.
Therefore, you end up writing the mean value to the first LINE of your
array...

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: heap memory used: 18446743890746993974 :S ?????????
Next Topic: IDLdoc 3.2 released

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

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

Total time taken to generate the page: 0.00444 seconds