octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44423] fir1 with large filter order fails, us


From: anonymous
Subject: [Octave-bug-tracker] [bug #44423] fir1 with large filter order fails, used to work
Date: Wed, 04 Mar 2015 15:48:14 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?44423>

                 Summary: fir1 with large filter order fails, used to work
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 04 Mar 2015 03:48:13 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Tom
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44423>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]