|
From: | Tom Holroyd (NIH/NIMH) [E] |
Subject: | Re: Excluding elements of a matrix |
Date: | Tue, 19 Dec 2006 16:39:37 -0500 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) |
The reason I ask is that, for example, if I want to remove element k from a given vector, there are special cases. I can't just write, a = a([1:(k-1) (k+1):columns(a)]) because obviously I might have k=1 or k=columns(a).
That actually works in Octave 2.9.9. -- Tom Holroyd, Ph.D. We experience the world not as it is, but as we expect it to be.
[Prev in Thread] | Current Thread | [Next in Thread] |