bugGNU Octave - Bugs: bug #44276, signal package: upfirdn function...

 
 

bug #44276: signal package: upfirdn function returns nothing when given a range argument

Submitter:  None
Submitted:  Mon 16 Feb 2015 05:42:32 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  mtmiller
Originator Name:  Daniele Bussoletti Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * other
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 19 Feb 2015 07:04:52 AM UTC, comment #2: 

Fixed to handle the provided test case:

http://sourceforge.net/p/octave/signal/ci/ead3e374cdba6ad03d466831a9e17ffb566bc5ad/

This fix will be part of the next bug fix release of the signal package.

Mike Miller <mtmiller>
Group Member
Tue 17 Feb 2015 07:58:40 PM UTC, comment #1: 

Thanks for your bug report. I can confirm this error when the first argument to the function is a range type instead of a real matrix type. You have installed the package correctly, this is an error in the upfirdn function.

As a workaround, use

y = upfirdn ([1:100], ones (1, 20), 5, 1);

instead.

Mike Miller <mtmiller>
Group Member
Mon 16 Feb 2015 05:42:32 PM UTC, original submission:  

Dear all,

I've experienced the issue in summary:

On ubuntu 14.04 64 bit upfirdn function in signal package returns

"error: value on right hand side of assignment is undefined"

(for example just trying y=upfirdn(1:100,ones(1,20),5,1);)

in both Octave 3.8.1 installed from the sw center and in Octave 3.8.2 compiled by  following the instructions at this site (after having removed the 3.8.1 installation):

http://www.math.univ-paris13.fr/~cuvelier/mainsu19.html

I successfully installed all of the signal package dependecies reported at:

http://octave.sourceforge.net/signal/index.html

(Dependencies: Octave (>= 3.8.0) control (>= 2.4.5) general (>= 1.3.2))

Here they are reported my Ubuntu details:

daniele@daniele-msr:~$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Anonymous

 

(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 mtmiller (Posted a comment)
  • -email is unavailable- added by None (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 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-19 mtmiller Open/ClosedOpen Closed
        Discussion LockLocked None
    2015-02-19 mtmiller StatusConfirmed Fixed
        Discussion LockNone Locked
    2015-02-17 mtmiller Item GroupSegfault, Bus Error, etc. Incorrect Result
        StatusNone Confirmed
        Assigned toNone mtmiller
        Release3.8.2 other
        Operating SystemGNU/Linux Any
        SummaryOn ubuntu 14.04 upfirdn function in signal package returns &quot;error: value on right hand side of assignment is undefined&quot; signal package: upfirdn function returns nothing when given a range argument

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code