[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Excluding elements of a matrix
From: |
Miroslaw Kwasniak |
Subject: |
Re: Excluding elements of a matrix |
Date: |
Tue, 19 Dec 2006 20:53:56 +0100 |
User-agent: |
Mutt/1.5.9i |
On Tue, Dec 19, 2006 at 06:08:27PM +0100, Joseph Wakeling wrote:
> Bill Denney wrote:
> > You can do something like
> >
> > a = 1:10;
> > b = a([1:5 7:10])
>
> Sure; this is selectively _including_ elements of a vector/matrix (in
> this case, elements 1-5 and 7-10). I was wondering if there's a
> comparably simple notation for _excluding_ elements.
setdiff (1:10,[5 7])
- autocorrelation, Francesco Potorti`, 2006/12/18
- Re: autocorrelation, Paul Kienzle, 2006/12/18
- Excluding elements of a matrix, Joseph Wakeling, 2006/12/19
- Re: Excluding elements of a matrix, Jordi Gutierrez Hermoso, 2006/12/19
- Re: Excluding elements of a matrix, Francesco Potorti`, 2006/12/19
- Re: Excluding elements of a matrix, Quentin Spencer, 2006/12/19
- Re: Excluding elements of a matrix, Joseph Wakeling, 2006/12/19
- Re: Excluding elements of a matrix, antonio palestrini, 2006/12/19
- Re: Excluding elements of a matrix, Jordi Gutierrez Hermoso, 2006/12/19
- Re: Excluding elements of a matrix, John W. Eaton, 2006/12/19
- Re: Excluding elements of a matrix, antonio palestrini, 2006/12/19
Re: Excluding elements of a matrix, Joan Picanyol i Puig, 2006/12/25