help-octave
[Top][All Lists]
Advanced

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

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


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

Hi guys,

A have a 2150*2150 matrix and I want to find the extreme value in each in
column/row retaining their +ve or  -ve symbol as well. 

Eg:   Say if I have -0.9965743234 and +0.7645334441 in a column/row  

    when I do:
      max(Result(:,2));
      It only gives me the max +ve value. i.e +0.7645334441 

      I need a command that gives me -0.9965743234

Also can I get the index values for all these highest values at a go.
 
Thanks in advance


    


      

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


reply via email to

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