help-octave
[Top][All Lists]
Advanced

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

Re: Finding the index of the smallest value in a vector


From: Miroslaw Kwasniak
Subject: Re: Finding the index of the smallest value in a vector
Date: Thu, 18 Nov 2004 11:08:15 +0100
User-agent: Mutt/1.5.6+20040907i

On Thu, Nov 18, 2004 at 09:24:05AM +0100, Soren Hauberg wrote:
> Hi,
> If I understand you correctly you should be able to use find:
> 
> find( vector == min(vector) )

I this case you get indices to all (equal - dupplicated) min values.
I don't know what expected Norbert.

Mirek



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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