[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
end indexing
From: |
Laurent Jacques |
Subject: |
end indexing |
Date: |
Wed, 31 Oct 2001 23:11:53 +0100 |
Hello,
Is there a way in octave to type something like
octave:20> a=[2 3 4 5];
octave:21> a(2:end)
ans =
3 4 5
where the "end" term refers to the last element of a ?
I didn't see any reference to that in the doc but perhaps I have not search
in the good paper.
Thank you,
L. Jacques.
-------------------------------------------------------------
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
-------------------------------------------------------------
- end indexing,
Laurent Jacques <=