|
From: | Bill Denney |
Subject: | Re: Excluding elements of a matrix |
Date: | Tue, 19 Dec 2006 11:49:16 -0500 |
User-agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
Joseph Wakeling wrote:
Is there a convenient notation for excluding elements of a vector or matrix? e.g. I want to show a matrix, except for column 13. or, I want to sum over all elements of a vector except elements [2 5 9].
You can do something like a = 1:10; b = a([1:5 7:10]) Bill
[Prev in Thread] | Current Thread | [Next in Thread] |