[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to leave out selected elements from a vector?
From: |
Primoz PETERLIN |
Subject: |
How to leave out selected elements from a vector? |
Date: |
Thu, 17 Jul 2008 11:50:38 +0200 |
Hello,
Even after a couple of months of using Octave, I still consider myself
a newbie. :)
Here is my question. In Mathematica, there exists a function called
Drop, which I often use to manipulate lists, e.g., Drop[ list, {m, n}
] returns the argument list with the elements m through n omitted from
the list (the resultant list is shorter for (n - m + 1) elements).
Does anything similar already exist in Octave? I know I can program it
myself, but I wouldn't want to reinvent the wheel. :)
TIA, Primoz
- How to leave out selected elements from a vector?,
Primoz PETERLIN <=
- Re: How to leave out selected elements from a vector?, Michael Goffioul, 2008/07/17
- Re: How to leave out selected elements from a vector?, Francesco Potorti`, 2008/07/17
- Re: How to leave out selected elements from a vector?, Shaun Jackman, 2008/07/18
- Re: How to leave out selected elements from a vector?, Jaroslav Hajek, 2008/07/18
- Re: How to leave out selected elements from a vector?, Shaun Jackman, 2008/07/18
- Re: How to leave out selected elements from a vector?, Jaroslav Hajek, 2008/07/18
- Re: How to leave out selected elements from a vector?, Ben Abbott, 2008/07/18