bugGNU Octave - Bugs: bug #44423, fir1 with large filter order...

 
 

bug #44423: fir1 with large filter order fails, used to work

Submitter:  None
Submitted:  Wed 04 Mar 2015 03:48:13 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Tom Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * other
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 05 Mar 2015 03:06:30 AM UTC, comment #1: 

Thanks for your bug report. This bug has already been reported and fixed in version 1.3.0 of the signal package. Closing as a duplicate of bug #39177.

Mike Miller <mtmiller>
Group Member
Wed 04 Mar 2015 03:48:13 PM UTC, original submission:  

fir1(3199,0.0078125)

which calls
fir2(3199,[0 0.00781 0.00781 1],[1 1 0 0],512,2,[])

error: fir2: grid size must be greater than half the filter order
error: called from:
error:   /usr/share/octave/packages/signal-1.2.0/fir2.m at line 89, column 5


Seems to have been added in this commit (august 2012)
http://sourceforge.net/p/octave/signal/ci/5d932562702749e4a900ae9d8e34e22d95c2895e/
in which fir2 behavior changed: rather than padding the grid size to the next power of 2, it errored out - presumably to be more matlab like.

However this broke fir1, which uses a fixed grid size of 512.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-05 mtmiller Item GroupSegfault, Bus Error, etc. Incorrect Result
        StatusNone Duplicate
        Open/ClosedOpen Closed
        Release3.6.4 other
        Dependencies- Depends on bugs #39177

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code