bugGNU Octave - Bugs: bug #36521, [octave forge] (signal) buttord...

 
 

bug #36521: [octave forge] (signal) buttord function overdesigns

Submitted by:  Luke <ltclifton>
Submitted on:  Tue 22 May 2012 07:35:35 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 24 Nov 2016 12:52:31 AM UTC, comment #2:

Using signal 1.3.2, I get

If n is the order of the filter (is not mentioned in the help of this function nor of function butter) it seems now the filter is under-designed.

Juan Pablo Carbajal <juanpi>
Project Member
Tue 22 May 2012 11:34:25 AM UTC, comment #1:

CC'ing OF list

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Tue 22 May 2012 07:35:35 AM UTC, original submission:

The buttord() function in the signal processing library over designs band pass filters. This seems to be a known issue as an error is printed at run-time. However I could not find a corresponding bug report. I have confirmed that it does over-design by comparing the output to Matlabs equivalent function.

The following example demonstrates
Octave reports that a 6th order filter is required.

Matlab report (correctly) that a 4th order filter is required.

While Octave's solution satisfies the requirements, it is misleading, and buggy behavior to report this solution.

Luke <ltclifton>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by juanpi (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by jordigh
  • -unavailable- added by ltclifton (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Aug 2017 01:24:54 PM UTCjweSummarysignal package: buttord() overdesigns=>[octave forge] (signal) buttord function overdesigns
    Fri 21 Jun 2013 03:48:24 AM UTCmtmillerStatusNone=>Confirmed
      Release3.6.1=>dev
      Summarybuttord() over designs=>signal package: buttord() overdesigns
    Thu 16 May 2013 08:09:38 PM UTCjweCategoryNone=>Octave Forge Package
      StatusOctave Forge=>None
    Tue 22 May 2012 11:34:25 AM UTCjordighStatusNone=>Octave Forge
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1