[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cs-list general question
From: |
JokerOne |
Subject: |
Re: cs-list general question |
Date: |
Mon, 1 Sep 2014 02:02:15 -0700 (PDT) |
Thanks Ben,
but still not exactly this, what I want:
>>> [[a.b].c](1:numel(a))
ans =
1 -1
But I want 1 2.
In addition, I would prefer a more general solution, which does not require
me to count the entries, like:
wanted_results = [[a.b].c]([1,3])
Is there anything that does the trick?
Also, what happens, when I 'd like the -1, eg. [[a.b].c]([2]), or if I start
to play with:
a(1).b(1).c(1).d = 1
etc....
--
View this message in context:
http://octave.1599824.n4.nabble.com/cs-list-general-question-tp4666260p4666317.html
Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: cs-list general question,
JokerOne <=