bugGNU Octave - Bugs: bug #50394, Difference between programme and...

 
 

bug #50394: Difference between programme and documentation

Submitted by:  None
Submitted on:  Fri 24 Feb 2017 03:23:10 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedAssigned to: None
Originator Name: AugustOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.0
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 24 Feb 2017 04:53:35 PM UTC, comment #1:

Yes, the documentation was incorrect. It is was fixed for the 4.2.1 bug fix release which was just put out today. See ftp://ftp.gnu.org/gnu/octave.

Rik <rik5>
Project Administrator
Fri 24 Feb 2017 03:23:10 PM UTC, original submission:

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 24 Feb 2017 04:53:35 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1