[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "end" for row vectors
From: |
Gerald Ebberink |
Subject: |
Re: "end" for row vectors |
Date: |
Thu, 18 Dec 2003 21:57:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031125 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Try something like
v(size(v))
(should also work in matlab)
Ricardo Cervera wrote:
| Hello.
|
| I have some .m files I ran using matlab. The problem is that
| they use
|
|
|>v(end)
|
|
| in order to get the last element of a row-vector, and that doesn't
| seem to work on octave (version 2.1.35, debian package). Is there
| a similar syntax in octave to do so?
|
| Thanks.
|
|
|
|
| -------------------------------------------------------------
| 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
| -------------------------------------------------------------
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/4hSwbSbfYz8yWIMRAqhUAJ9eaoKD+TMwTKrv0EnVupnfi816rgCg6z5k
aU17Vdy8FF5mTIhRl1ld30k=
=3E7C
-----END PGP SIGNATURE-----
-------------------------------------------------------------
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
-------------------------------------------------------------