[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: |
Penfold |
Subject: |
Re: Abs highest(extreme) value in a matrix with +ve & -ve elements |
Date: |
Mon, 23 Jan 2012 08:09:55 -0800 (PST) |
Looks like you have several options from the ever-helpful Octave list,...yet
another perhaps;
%Find location and value of Matrix maximum
[colmaximums,a]=max(A);
[maxval,b]=max(colmaximums);
A(a(b),b)
%Find location and value of Matrix minimum
[colminimums,c]=min(A);
[minval,d]=min(colminimums);
A(c(d),d)
--
View this message in context:
http://octave.1599824.n4.nabble.com/Abs-highest-extreme-value-in-a-matrix-with-ve-ve-elements-tp4320453p4321135.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, (continued)
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, Penfold, 2012/01/23
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, Andy Buckle, 2012/01/23
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, adla.raghu, 2012/01/23
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, Ben Abbott, 2012/01/23
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, Jordi GutiƩrrez Hermoso, 2012/01/23
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, adla.raghu, 2012/01/23
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, Jordi GutiƩrrez Hermoso, 2012/01/23
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, adla.raghu, 2012/01/25
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, adla.raghu, 2012/01/23
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, Penfold, 2012/01/23
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements,
Penfold <=
- Re: Abs highest(extreme) value in a matrix with +ve & -ve elements, Ben Abbott, 2012/01/23
RE: Abs highest(extreme) value in a matrix with +ve & -ve elements, Mechanical Mon, 2012/01/24