[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ponter or index
From: |
Paul Kienzle |
Subject: |
Re: ponter or index |
Date: |
Thu, 6 Dec 2001 15:33:01 -0500 |
octave> help min
...
If called with two output arguments, also returns the index of the
minimum value(s). Thus,
[x, ix] = min ([1, 3, 0, 2, 5])
returns X = 0 and IX = 3.
Paul Kienzle
address@hidden
On Thu, Dec 06, 2001 at 02:24:57PM -0600, Stefan L. Helwig wrote:
>
> Hello,
> can anybody help me with the following problem?
>
> 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.
>
> Thanks in advance
>
> Stefan
> --
> ---
> Dr. Stefan L. Helwig
> Institut für Geophysik und Meteorologie der Universität zu Köln
> Godesbergerstr. 10 TEL: +49 221 4705477
> 50968 Köln FAX: +49 221 4705481
> Germany E-MAIL address@hidden
>
>
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
>
-------------------------------------------------------------
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
-------------------------------------------------------------