help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Abs highest(extreme) value in a matrix with +ve & -ve elements


From: adla.raghu
Subject: Re: Abs highest(extreme) value in a matrix with +ve & -ve elements
Date: Mon, 23 Jan 2012 05:03:17 -0800 (PST)

Thanks for your reply, but  I am trying to retrieve only the extreme value in
each column retaining its -ve/+ve symbol.[and its index as well]

So when I do min(); it's giving me the minimum value in the column ignoring
the +ve values. 

Eg: if I have a column in A as [1,3,-5,7,-9,10]
         min(A(x)) returns -9 but the extreme value [abs max] is 10

     if I have another column in the matrix A as [1,3,-5,7,-9]
         max(A(x)) returns 7 while the extreme value is -9.

    So while looping through the entire matrix A, I either get the max
values or min but not the extreme values, the ones I am looking for. 

Thanks
              

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Abs-highest-extreme-value-in-a-matrix-with-ve-ve-elements-tp4320453p4320608.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]