[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ponter or index
From: |
Dirk Eddelbuettel |
Subject: |
Re: ponter or index |
Date: |
Thu, 6 Dec 2001 14:28:30 -0600 |
User-agent: |
Mutt/1.3.24i |
On Thu, Dec 06, 2001 at 02:24:57PM -0600, Stefan L. Helwig wrote:
> Iwant to know at what position in a vector is the minimum. The minimum can
> easily be found by min() but how do I find out at which position the minimum
> is. I did not find any documentation on pointers.
find(X == min(X))
Hth, Dirk
--
Good judgment comes from experience; experience comes from bad judgment.
-- F. Brooks
-------------------------------------------------------------
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
-------------------------------------------------------------