bugGNU Octave - Bugs: bug #39864, fir1 - Grid Size versus Filter...

 
 

bug #39864: fir1 - Grid Size versus Filter Order

Submitter:  Steven Chung <stevessr>
Submitted:  Sat 24 Aug 2013 04:06:57 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  stevessr Open/Closed:  * Closed
Release:  * 3.6.4 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 25 Aug 2013 12:07:35 PM UTC, comment #1: 

Thank you for your bug report. This bug has actually already been reported as bug #39177, marking as duplicate and closing. Please followup to that bug report if necessary.

Mike Miller <mtmiller>
Group Member
Sat 24 Aug 2013 04:06:57 PM UTC, original submission:  

fir.m line-109 hardcodes the 3rd argument of fir2(...) to 512. The error occurs when fir1.m is called with its 1st argument 'n' (order of the filter) to >= 512. The following error is reported:


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
error:   /usr/share/octave/packages/signal-1.2.0/fir1.m at line 109, column 3


I believe that the 3rd argument to fir2(...) should be n+1. I've installed this fix and it appears to be working OK.

Many thanks for your time and expertise!

Steven Chung <stevessr>

 

(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 stevessr (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
    2013-08-25 mtmiller CategoryOctave Function Octave Package
        StatusNone Duplicate
        Open/ClosedOpen Closed
        Operating SystemGNU/Linux Any
        Dependencies- Depends on bugs #39177

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code