From help-octave-request at bevo dot che dot wisc dot edu Thu Dec 6 14:28:50 2001 Subject: Re: ponter or index From: Dirk Eddelbuettel To: "Stefan L. Helwig" Cc: help-octave at bevo dot che dot wisc dot edu Date: Thu, 6 Dec 2001 14:28:30 -0600 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 -------------------------------------------------------------