[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50394] Difference between programme and docum
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #50394] Difference between programme and documentation |
Date: |
Fri, 24 Feb 2017 10:23:11 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 |
URL:
<http://savannah.gnu.org/bugs/?50394>
Summary: Difference between programme and documentation
Project: GNU Octave
Submitted by: None
Submitted on: Fri 24 Feb 2017 03:23:10 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name: August
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0
Operating System: Microsoft Windows
_______________________________________________________
Details:
I've just installed the Octave 4.2.0 (under WIN 10). I looked through the
octave.pdf, and I found on page 122 an example of the usage of a comma
separated list. After I rewrote the example in the Octave console, I obtained
in documentation:
...
[out{4:6}] = find (in{[1, 2, 4]})
=> out =
{
[1,1] = 1
[2,1] = 9
[3,1] = 90
[4,1] = 1
[3,1] = 1
[4,1] = 10
}
on console:
[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
that seems quite a different result!
It's my first contact with the Octave, so I could be wrong.
Best regards
August
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50394>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50394] Difference between programme and documentation,
anonymous <=