bugGNU Octave - Bugs: bug #55208, Incorrect information in...

 
 

bug #55208: Incorrect information in documentation, fix and suggestion

Submitter:  Ridge McGhee <ridgemcghee>
Submitted:  Tue 11 Dec 2018 08:15:23 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Ridge McGhee Open/Closed:  * Closed
Release:  * 4.4.1 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Dec 2018 11:39:16 PM UTC, comment #1: 

The output assumes that you have used "fixed_point_format (true)".  See this session from Octave


octave:1> logspace (1, 7, 5)'
ans =

         10.00000
        316.22777
      10000.00000
     316227.76602
   10000000.00000

octave:2> fixed_point_format (true)
octave:3> logspace (1, 7, 5)'
ans =

  1.0e+07 *

   0.00000
   0.00003
   0.00100
   0.03162
   1.00000


I added the extra command in to the documentation in this changeset ().

Marking as fixed and closing report.


Rik <rik5>
Group administrator
Tue 11 Dec 2018 08:15:23 PM UTC, original submission:  

In Section 4.1 Matrices, under "fixed_point_format", the following text appears:


logspace (1, 7, 5)'
ans =

  1.0e+07  *

  0.00000
  0.00003
  0.00100
  0.03162
  1.00000

Notice that the first value appears to be 0 when it is actually 1. Because of the possibility for confusion you should be careful about enabling fixed_point_format.


1. The first value is actually 10, not 1.
2. Suggested addition to the paragraph above:


For further clarification, try the following:

fixed_point_format(1);
output_precision(10);
logspace(1, 7, 5)'

fixed_point_format(0);
output_precision(5);
logspace(1, 7, 5)'


Ridge McGhee <ridgemcghee>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-11 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code