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

 
 

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

Submitted by:  None
Submitted on:  Wed 04 Mar 2015 03:48:13 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: TomOriginator Email: -unavailable-
Open/Closed: ClosedRelease: other
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project Administrator
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 File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 05 Mar 2015 03:06:30 AM UTCmtmillerItem 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.1-cleanup1