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

Home » Public Forums » archive » Re: Max value vector
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: Max value vector [message #15548 is a reply to message #15544] Fri, 21 May 1999 00:00 Go to previous messageGo to previous message
Justin Ashmall is currently offline  Justin Ashmall
Messages: 15
Registered: May 1999
Junior Member
Sorry for replying to my own message but I was being a bit foolish.
Why not use a LONG as an array counter:

for i=0L,640000L do .....

Justin



Justin Ashmall <Justin_Ashmall@hotmail.com> wrote in message
news:7i3mt2$67e$1@jura.cc.ic.ac.uk...
> It wouldn't be very efficient but you could use a while loop using a LONG
as
> the counter
>
> e.g.
> i=0L ;type long
> WHILE (i LT 64000) do begin
> maxcol[i]=MAX(data[i,*])
> i=i+1L
> end
>
> Justin
>
> Thomas C. Stubbings <stubbing@fbch.tuwien.ac.at> wrote in message
> news:7i3mfr$c9k$1@news.tuwien.ac.at...
>> What I would need is something like the MATLAB command max(i) where i is
> an
>> array(n,m) and max(i) returns a vector containing the maximum value of
> each
>> column. The IDL max command only returns a scalar containing the
absolute
>> maximum of the array.
>>
>> I even tried a big loop running through each column to find the max of
> each,
>> but IDL doesnt accept loops with 64000 iterations
>>
>>
>> What alternatives do I have?
>
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: coord ?
Next Topic: Re: window title in tvimage

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

Current Time: Fri Oct 10 08:33:59 PDT 2025

Total time taken to generate the page: 0.16365 seconds