bugGNU Octave - Bugs: bug #43281, [signal 1.3.0]: filter design...

 
 

bug #43281: [signal 1.3.0]: filter design function fir2 gives incorrect result

Submitted by:  None
Submitted on:  Mon 22 Sep 2014 10:38:07 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: DuplicateAssigned to: None
Originator Name: David LowenfelsOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 23 Sep 2014 11:16:47 AM UTC, comment #2:

Thanks for your report anyway. Closing as a duplicate.

Mike Miller <mtmiller>
Project Administrator
Mon 22 Sep 2014 10:53:46 PM UTC, comment #1:

oops I just realized this is a duplicate of bug #42763 and fixed in 3.8.2
sorry! I guess I made a mistake with the bug search feature. Please delete this ticket.

David Lowenfels <dfl>
Mon 22 Sep 2014 10:38:07 PM UTC, original submission:

the code I ran is the example from the output of `help fir2`

f = [0, 0.3, 0.3, 0.6, 0.6, 1]; m = [0, 0, 1, 1/2, 0, 0];
[h, w] = freqz (fir2 (100, f, m));
plot (f, m, ";target response;", w/pi, abs (h), ";filter response;");

the resulting graph should be a bandpass filter between 0.3 and 0.6. However it is between 0 and 0.6.

the same problem happens with fir1 as well (which just called fir2 anyways)
freqz(fir1 (100, [0.3, 0.6]))

I suppose `demo fir2` can also be run to make some erroneous graphs.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #32170:  9_22_14__3_20_PM.png added by None (41KiB - image/png - this is the output graph)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by dfl (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Sep 2014 11:16:47 AM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Mon 22 Sep 2014 10:38:07 PM UTCNoneAttached File-=>Added 9_22_14__3_20_PM.png, #32170

    Back to the top


    Powered by Savane 3.1-cleanup1