From help-octave-request at bevo dot che dot wisc dot edu Mon Feb 18 03:19:29 2002 Subject: selecting last element of a vector From: Martijn Brouwer To: Octave Help Date: 18 Feb 2002 10:18:29 +0100 Is there a short notation for the last element of a vector like in scilab? like this: a=[1,2,3]; a($) ans = 3 I could not find it in the manual. Thanks, Martijn Brouwer ------------------------------------------------------------- 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 -------------------------------------------------------------