[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50282] CS-list example in documentation doesn
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #50282] CS-list example in documentation doesn't output stated output |
Date: |
Mon, 13 Feb 2017 18:47:53 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #50282 (project octave):
Status: None => Confirmed
Summary: example in documentation doesn't output stated
output => CS-list example in documentation doesn't output stated output
_______________________________________________________
Follow-up Comment #1:
It seems that the situation is even worse than you suggest. I tried the
sample code from the documentation in Octave 4.2.0 and I get something
something completely different from the stated results:
octave:1> in{1} = [10, 20, 30, 40, 50, 60, 70, 80, 90];
octave:2> in{2} = inf;
octave:3> in{3} = "last";
octave:4> in{4} = "first";
octave:5> out = cell (4, 1);
octave:6> [out{1:3}] = find (in{1 : 3});
octave:7> [out{4:6}] = find (in{[1, 2, 4]})
out =
{
[1,1] =
1 1 1 1 1 1 1 1 1
[2,1] =
1 2 3 4 5 6 7 8 9
[3,1] =
10 20 30 40 50 60 70 80 90
[4,1] =
1 1 1 1 1 1 1 1 1
[5,1] =
1 2 3 4 5 6 7 8 9
[6,1] =
10 20 30 40 50 60 70 80 90
}
Can you verify this? Are there other changes to the documentation that need
to be made here?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50282>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50282] example in documentation doesn't output stated output, Martin Castillo, 2017/02/11
- [Octave-bug-tracker] [bug #50282] CS-list example in documentation doesn't output stated output,
Rik <=
- [Octave-bug-tracker] [bug #50282] CS-list example in documentation doesn't output stated output, Carnë Draug, 2017/02/14
- [Octave-bug-tracker] [bug #50282] CS-list example in documentation doesn't output stated output, Martin Castillo, 2017/02/17
- [Octave-bug-tracker] [bug #50282] CS-list example in documentation doesn't output stated output, Martin Castillo, 2017/02/17
- [Octave-bug-tracker] [bug #50282] CS-list example in documentation doesn't output stated output, Carnë Draug, 2017/02/18
- [Octave-bug-tracker] [bug #50282] CS-list example in documentation doesn't output stated output, Mike Miller, 2017/02/20
- [Octave-bug-tracker] [bug #50282] CS-list example in documentation doesn't output stated output, Rik, 2017/02/22