From octave-sources-request at bevo dot che dot wisc dot edu Sat Aug 7 15:50:42 1999 Subject: Small patch to docs From: etienne grossmann To: octave-sources at bevo dot che dot wisc dot edu CC: etienne at isr dot ist dot utl dot pt Date: Sat, 7 Aug 1999 21:50:12 +0100 (WEST) Hello, is this the list for sending patches to the doc? Please let me know if it isn't. I just thought it was worth mentionning that the builtin function 'max' can be made to return the index of the maximum too. Cheers, Etienne ====================================================================== --- octave_17.html Sat Aug 7 21:44:24 1999 +++ octave_17.html.orig Sat Aug 7 21:34:18 1999 at @ -171,24 +171,6 @@

For complex arguments, the magnitude of the elements are used for comparison. - -

-[val,pos] = max (x)
-
-

-returns the largest element of x in val and its -position in pos .Thus, - -

- -
-[v,p] = max ([1 9 ; 9 2 ])
-
- -

-sets

v = [8 9]
and
p = [2 1].
- -