bugGNU Octave - Bugs: bug #32734, dB20ToLinInt (interval, power),...

 
 

bug #32734: dB20ToLinInt (interval, power), unnecessary argument power

Submitter:  Sunil K <iamsunilk>
Submitted:  Thu 10 Mar 2011 04:40:22 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  Octave Forge Assigned to:  None
Originator Name:  Sunil K Open/Closed:  * Closed
Release:  * 3.2.4 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 Mar 2011 05:25:53 PM UTC, comment #1: 

This looks like a problem with an Octave Forge package, not a bug
in Octave.  The correct place to report this problem is the
Octave Forge mailing list, octave-dev@lists.sourceforge.net.

A copy of this update to the bug report is being sent to that
list so that they are aware of it.  Please follow up there.

John W. Eaton <jwe>
Group administrator
Thu 10 Mar 2011 04:40:22 AM UTC, original submission:  

function ret = dB20ToLinInt (interval, power)
Argument power is unnecessary and is not given in documentation

The code  should remove 

function ret = dB20ToLinInt (interval, power)
  if (nargin() != 2)
     error ("Wrong number of argument passed to the function.");
  endif

 Instead It should be

function ret = dB20ToLinInt (interval)
  if (nargin() != 1)
     error ("Wrong number of argument passed to the function.");
  endif


I would like to also suggest a simple name for fuction such as invdB(x) or invdB10(x)


Uploaded is a modified version

Sunil

Sunil K <iamsunilk>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #22872:  db10ToLinInt.m added by iamsunilk (1KiB - text/x-objcsrc - slightly modified dB20ToLinInt)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by jwe
  • -email is unavailable- added by iamsunilk (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-10 jwe StatusNone Octave Forge
        Open/ClosedOpen Closed
        Carbon-Copy- Added -email is unavailable-
    2011-03-10 iamsunilk Attached File- Added db10ToLinInt.m, #22872

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code